Thread

class neko.vm.ThreadAvailable in neko function sendMessage( msg : Dynamic ) : VoidSend a message to the thread queue. This message can be read by using readMessage. static function create( callb : Void -> Void ) : ThreadCreates a new thread that will execute the callb function, then exit. static function current() : ThreadReturns the current thread. static function readMessage( block : Bool ) : DynamicReads a message from the thread queue. If block is true, the function blocks until a message is available. If block is false, the function returns null if no message is available.
version #6297, modified 2009-07-06 20:26:08 by ron
0 comment