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. I agree the POSIX implementation of io_service is not great, though that's a pure quality of implementation issue rather than a design problem. Chris is aware of this problem. Niall -- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/