|
Boost : |
From: Bryan Scattergood (bryan.scattergood_at_[hidden])
Date: 2002-01-15 13:28:32
bill_kempf wrote:
> --- In boost_at_y..., Wil Evers <Wil_Evers_at_d...> wrote:
> > As I said in comp.std.c++, Hoare's Communicating Sequential Processes
> > (CSP) contains a good example of a high-level syntax to express such
> > selection constructs. So far, my low-level approach is to use event
> > handles on Win32; for Unix, I use a pipe (which has a file descriptor,
> > and can thus be selected on) to express the state of something that
> > resembles a condition variable.
>
> I think an exciting prospect for Boost would be a higher level
> library giving CSP mechanisms built on top of the Boost.Threads
> primitives. In fact, the documentation for Boost.Threads suggests
> this.
You may already be aware of this, but the occam community has put some
work into implementing the CSP model of concurrency on top of the Java
threading primitives. If a higher-level CSP model is a long term goal,
then some of their work may carry across to Boost.Threads. See
http://www.cs.ukc.ac.uk/projects/ofa/jcsp/ for some details.
Bryan
**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential
and/or privileged material.
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by
persons or entities other than the intended recipient is
prohibited.
If you received this in error, please contact the sender and
delete the material from any computer.
**********************************************************************
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk