round-robin strategy for router is broken
mdbergmann opened this issue · comments
In a heavy multi-threaded environment, as in the mp-test, the index
variable and the update of it is not atomic enough.
Looking for a better way. stmx or atomics (cas) maybe, but that'd pull another dependency.
fixed using atomics.