Boost logo

Threads-Devel :

Subject: Re: [Threads-devel] boost.thread low-level primitives?
From: Anthony Williams (anthony_at_[hidden])
Date: 2009-10-28 12:46:26

Tim Blechmann wrote:
> i am regularly using primitives like spinlocks or semaphores for
> low-level synchronization issues.
> i am curious, why these primitives don't exist? would there be some
> interest in adding such classes to boost.thread?

A long time ago, before I got involved with Boost.thread, it was decided
that semaphores were too low-level, and hard to program with. I don't
know whether spinlocks were also considered.

I'm happy to revisit these decisions if there's a consensus to do so.


Author of C++ Concurrency in Action |
just::thread C++0x thread library   |
Just Software Solutions Ltd         |
15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976

Threads-Devel list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at