Boost logo

Boost :

From: Alan Griffiths (alan_at_[hidden])
Date: 2000-08-02 14:56:59


In message <39884D45.65F7_at_[hidden]>, Valentin Bonnard
<Bonnard.V_at_[hidden]> writes
>Definitions:

I'm probably being thick, but these don't seem to help me.

>
>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

What patterns of use are 'safe' - can distinct instances be used on
separate threads? Or one instance shared between threads? Is the
client code required to acquire/release locks before modifying, ...

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

Sorry, do you mean the library doesn't call the thread library and the
client code may need to when sharing 'something' between threads.
>
>Actively thread safe: thread safe by using functions of the thread
> library
> example: allocators, maybe rope in SGI STL

Sorry, do you mean the library does call the thread library and the
client code needn't when sharing 'something' between threads.

-- 
Alan Griffiths  (alan_at_[hidden])  http://www.octopull.demon.co.uk/
ACCU Chairman   (chair_at_[hidden])             http://www.accu.org/

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