mdbergmann / cl-gserver

Sento - Actor framework featuring actors and agents for easy access to state and asynchronous operations.

Home Page:https://mdbergmann.github.io/cl-gserver/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.