-
- Downloads
Add postRetrieve hook to UnboundedBlockingMpscQueue
and use that hook in Actor. This fixes a race condition in the actor loop between 'queue.get()' and 'setState(Running)' racing against waitUntilIdle(long)'s check if queue.size() == 0 && state == Retrieving Because right after the get() operation is finished, the queue size is 0, but the state is not yet at Running, while the Actor actually is not idle. Thanks Raim! Best rubber duck ever!
Please register or sign in to comment