Boost logo

Boost :

Subject: Re: [boost] threadpool lockfree_channel
From: k-oli_at_[hidden]
Date: 2009-03-16 15:28:48


Am Monday 16 March 2009 11:40:03 schrieb Vicente Botet Escriba:
> I'm also interested on a dequeue in which
> * multiple-writer (push) multiple-reader(pop) single_reader(front).
>
> I think that the Thread pool has one like that for the internal queues, but
> I need to verify.

The wsq has multiple threads deqeueing items from one end (synchronized via
mutex) and one thread enqeueing/deqeueing at the other end (stack-like).

regards,
Oliver


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