You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given that the xadd q has to wait that a consumer complete its job before offering a new element, I don't see alternatives to perform a spin loop of some kind, but by changing the chunk sequence logic, maybe I can turn it in a spin loop on the sequence value instead: I see some benefit from this (intuitively, so nothing more then a spider-sense), but they have yet to be proved. @nitsanw wdyt?
The text was updated successfully, but these errors were encountered:
I'm not very proud to have introduced this
JCTools/jctools-core/src/main/java/org/jctools/queues/MpmcUnboundedXaddArrayQueue.java
Lines 414 to 421 in aad8c82
Given that the xadd q has to wait that a consumer complete its job before offering a new element, I don't see alternatives to perform a spin loop of some kind, but by changing the chunk sequence logic, maybe I can turn it in a spin loop on the sequence value instead: I see some benefit from this (intuitively, so nothing more then a spider-sense), but they have yet to be proved. @nitsanw wdyt?
The text was updated successfully, but these errors were encountered: