From: bill_kempf (williamkempf_at_[hidden])
Date: 2002-01-15 13:41:57


--- In boost_at_y..., Bryan Scattergood <bryan.scattergood_at_c...> wrote:
> 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.

Thanks. This site has been posted on this list in the past, but the
reminder is always helpful.

Bill Kempf