16 Jan
2015
16 Jan
'15
4:48 a.m.
On 13/01/2015 04:48, Niall Douglas wrote:
On 8 Jan 2015 at 6:43, Thomas Heller wrote:
Is a condition_variable a kernel synchronization object in HPX?
No it's not.
Just a side note: we even try to avoid asio as much as possible due to it's kernel based synchronization (a context switch into the kernel is just too much for a low latency, high bandwidth network).
Technically speaking, ASIO's design highly avoids kernel synchronisation, and on Windows does a very good job of also avoiding context switching.
It still has excessive use of mutual exclusion locks for some workloads. Replacing these with lock-free data structures causes noticeable improvements.