|
|
|
|
|
by dwroberts
150 days ago
|
|
Would be interested to know what people think of the locking implementation for the net worker pool. I’m no expert but it seems like a strange choice to me - using a mutex around an MPSC receiver, so whoever locks first gets to block until they get a message. Is that not introducing unnecessary contention? It wouldn’t be that hard to just retain a sender for each worker and just round robin them |
|