Concurrency - Lambda based message passing
#9
I see. So I fixed deadlocks at the cost of out-of-order hell.

Is this still viable for unifying queues in the non-returning case? For instance, cWorld has lots of queues: `m_ClientstoAdd`, `clientsToRemove`, etc. (And now we also need m_PlayersToRemove). Those can all be combined to a single queue of lambdas.

It's tidier. (and performance-wise, it might even be a tiny bit faster, because the queues are typically empty, and when they're empty, the number of queue checks are as much as there are queues. )
Reply
Thanks given by:


Messages In This Thread
RE: Concurrency - Lambda based message passing - by LogicParrot - 02-17-2016, 11:50 PM



Users browsing this thread: 3 Guest(s)