Boost logo

Boost :

From: Valentin Bonnard (Bonnard.V_at_[hidden])
Date: 2000-08-02 11:33:09


Dietmar Kuehl wrote:

> The importance to do this right is simply that it does not help if two
> libraries to be used in a project are written with two different thread
> libraries: They simply won't work together.

That's why it helps when the thread library is standard: it allows
us to write portable actively thread safe code, but not thread hot
code.

Definitions:

Thread hot: something that creates threads to do its job;
  example: Java GUI

Thread safe: something that can be used safely in a multi threaded
  program

Passively thread safe: thread safe, w/o any calls with the
  thread library
  example: most of the SGI STL

Actively thread safe: thread safe by using functions of the thread
  library
  example: allocators, maybe rope in SGI STL

-- 
Valentin Bonnard

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