prevent lost stop() calls
Currently the write to 'state' from stop() is overridden in actorLoop() if it occurs while the Actor is executing the while loop body in actorLoop() because the while loop body unconditionally writes 'state'. To prevent those lost 'state' updates actorLoop() now uses compare_exchange to switch 'state'.
parent
615f227f
No related branches found
No related tags found
Please register or sign in to comment