Re:Benchmarking shared memory vs message passing on OS X
by faragon on Tuesday April 04, 2017 @05:09PM
(#14037223)
Title should be:
"Benchmarking OS X semaphores vs message passing".
Shared memory + spinlocks should be much faster than shared memory + semaphores (much faster, if implemented properly, e.g. spinlock + timeout, on timeout queue another message, again spinlock and try to copy all the elements, etc.).
"Benchmarking OS X semaphores vs message passing".
Shared memory + spinlocks should be much faster than shared memory + semaphores (much faster, if implemented properly, e.g. spinlock + timeout, on timeout queue another message, again spinlock and try to copy all the elements, etc.).