Boost logo

Boost :

Subject: Re: [boost] Futures
From: Gavin Lambert (gavinl_at_[hidden])
Date: 2015-01-15 23:48:00


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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk