concurrency.messaging vocabulary
Factor handbook ยป Vocabulary index


Documentation
Message-passing concurrency

Metadata
Parents:concurrency
Tags:concurrency
Authors:Chris Double, Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
cannot-send-synchronous-to-self tuplemessage thread
reply tupledata tag
synchronous tupledata sender tag


Generic words
WordStack effect
mailbox-of( thread -- mailbox )
send( message thread -- )


Ordinary words
WordStack effect
<reply>( data synchronous -- reply )
<synchronous>( data -- sync )
cannot-send-synchronous-to-self( message thread -- * )
handle-synchronous( quot: ( ... message -- ... reply ) -- )
my-mailbox( -- mailbox )
receive( -- message )
receive-if( pred -- message )
receive-if-timeout( timeout pred -- message )
receive-timeout( timeout -- message )
reply-synchronous( message synchronous -- )
rethrow-linked( error process supervisor -- )
send-synchronous( message thread -- reply )
spawn-linked( quot name -- thread )
synchronous-reply?( response synchronous -- ? )


Class predicate words
WordStack effect
cannot-send-synchronous-to-self?( object -- ? )
reply?( object -- ? )
synchronous?( object -- ? )


Files


Metadata files