|
Boost : |
From: Oliver.Kowalke_at_[hidden]
Date: 2006-07-13 01:13:14
Hi,
> Before parallel <algorithm> things, I think we need to step
> back and handle the cross-thread domain container issues. It
> is very common in hardware programming to have a FIFO go
> between clock domains. I'm picturing the same thing for
> software; a FIFO where the push is in one thread and the pop
> in the other. The thread with the pop would block on a pop
> call until there was data and the thread with the push would
> block on push if the FIFO were full.
Already implemented (thread_queue) - please look at boost vault /
Concurrent Programming / thread_queue or defer library.
regards,
Oliver
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk