draft Carrier API
Doug Lea
dl at cs.oswego.edu
Sun Mar 8 12:05:47 UTC 2020
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
More information about the loom-dev
mailing list