author | Claus Gittinger <cg@exept.de> |
Tue, 25 Jun 2019 14:22:47 +0200 | |
changeset 5049 | 0d48cb487e0c |
parent 5048 | 63f42cfbaf59 |
child 5050 | 44fa8672d102 |
SharedQueue.st | file | annotate | diff | comparison | revisions |
--- a/SharedQueue.st Tue Jun 25 11:09:04 2019 +0200 +++ b/SharedQueue.st Tue Jun 25 14:22:47 2019 +0200 @@ -340,9 +340,14 @@ ! nextOrNil + "return the next value in the queue; + if it is empty do not wait, but return nil. + When a datum has been removed, signal space-availability to writers" + ^ self nextIfEmpty:nil "Created: / 31-05-2007 / 15:09:33 / cg" + "Modified (comment): / 25-06-2019 / 14:22:33 / Claus Gittinger" ! nextWithTimeout:seconds