June 15, 2010 [phobos] phobos commit, revision 1647 | ||||
---|---|---|---|---|
| ||||
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 |
Copyright © 1999-2021 by the D Language Foundation