[phobos] phobos commit, revision 1647

dsource.org noreply at dsource.org
Tue Jun 15 14:30:10 PDT 2010


phobos commit, revision 1647


user: sean

msg:
Added spawnLinked as an experimental feature to test bidirectional linking.  A spawnLinked thread won't have an owner, but if either it or the calling process terminates a LinkTerminated exception will be thrown from receive() when called by the other.  Another difference is that this exception will be thrown once message list processing has passed through enough of the queue to encounter it rather than when no valid matches were found in the queue and the caller would have to block.  I'd like to change the OwnerTerminated mechanism to work the same way (ie. throw when the message is encountered rather than continue scanning the queue looking for valid messages) but this warrants further discussion.

http://www.dsource.org/projects/phobos/changeset/1647



More information about the phobos mailing list