Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-02-25 07:42:31


Gabriel Dos Reis <gdr_at_[hidden]> writes:

> "Ken Hagan" <K.Hagan_at_[hidden]> writes:
>
> | 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.
>
> Untrue. See Dave's analogy with data member.

Hm? I think you'd better explain, Gaby, because up 'till now I'm
pretty much in agreement with Ken. I think his analogy to function
is actually better than mine.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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