Boost logo

Boost :

Subject: Re: [boost] Futures
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2015-01-12 10:48:05

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.


ned Productions Limited Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at