Re: draft Carrier API
Doug Lea via Concurrency-interest <[email protected]> Sun, 8 Mar 2020 08:05:47 -0400
| Newsgroups | gmane.comp.java.jsr.166-concurrency |
|---|---|
| Message-ID | <[email protected]> |
On 3/7/20 6:17 PM, Alex Otenko wrote: > A ticket system allows to build nicer things, because essentially you > give away a bit of control what to do duringĀ the wait. You can switch > between try* and blocking after you made the call, choosing when the > time to block is more suitable. In other words, you'd sometimes like Carrier to act more like ExecutorService (obtaining a Future or something like it on submission). Stay tuned for part 3 of j.u.c loom-related support for doing this. -Doug _______________________________________________ Concurrency-interest mailing list [email protected] http://cs.oswego.edu/mailman/listinfo/concurrency-interest