C++ and posix threads

Jean-Marc Bourguet jm at bourguet.org
Mon Dec 22 14:52:50 UTC 2003


I feel confused.  I wonder what is the context of the discussion
and especially the constraints or the liberties we assume from
an implementation.  Shoult it
    - need the collaboration of the pthread library or be implementable
      as wrapper around an existing pthread library?
    - allow modifications to the C interface visible from C or not?
    - allow modifications to the C interface visible from C++ or not?

Answering those questions will more or less strongly constraints the rest
of the discussion.

I didn't saw these issues discussed in the archive (if I missed them please
point me to the discussion) and it seems to me that people are assuming
different positions on them (Ted Baker seems to assume that it will be
a wrapper around an existing pthread library without modifications seen
to C code while Nathan Myers's proposition to return an ECANCELED error
imply afaik the collaboration of the pthread library and modification
to the C interface and Alexander Terekhov is apparently somewhere in between
them along this space).

Yours,

-- 
Jean-Marc




More information about the c++-pthreads mailing list