PreviousUpNext

15.4.918  src/lib/src/lib/thread-kit/src/core-thread-kit/binarytree-port.pkg

## binarytree-port.pkg

# Compiled by:
#     src/lib/test/unit-tests.lib



stipulate
    include package   threadkit;                                                                # threadkit                             is from   src/lib/src/lib/thread-kit/src/core-thread-kit/threadkit.pkg
herein

    package binarytree_port {
        #
        Binarytree_Port
          =
          { get_subtree_sum:    Void -> Int,                                                    # Use this from non-imp code, i.e. code which can afford to block.
            pass_subtree_sum:   Replyqueue -> (Int -> Void) -> Void,                            # Use this from imp code, which cannot afford to block.
            set_state:          Int -> Void
          };
    };                                                                                          # api Binarytree_Ximp
end;




Comments and suggestions to: bugs@mythryl.org

PreviousUpNext