Boost logo

Boost :

From: Ken Hagan (K.Hagan_at_[hidden])
Date: 2003-02-25 04:36:21


Gabriel Dos Reis wrote:
>
> This analgoy does not cut it: You don't have a function "fk" by
> thread. You have a -single- function designator. And the return
> value depends on the calling thread.

Whereas with a TLS variable you have a single variable name and
the value of that variable when referenced at run-time depends
on the calling thread.

Sorry, I really don't see the difference here, except for the
syntax of writing "k" rather than "fk()" when you want the value.


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