|
Boost : |
From: Johan Nilsson (johan.nilsson_at_[hidden])
Date: 2004-07-29 02:25:57
"Michael Glassford" <glassfordm_at_[hidden]> wrote in message
news:ce8eev$glv$1_at_sea.gmane.org...
> Roland wrote:
> > On Wed, 28 Jul 2004 11:06:39 +0200 Bronek Kozicki <brok_at_[hidden]>
wrote:
> >
> >
[snip]
> I wasn't either. It looks very interesting, but what Roland points out
> below is a definite problem.
>
> > But as I can see (after a quick look) the callback will not be scheduled
> > to run in the context of the exiting thread. But this is a requirement
to
> > be able to free TLS.
> > This is different to THREAD_DETACH which still is scheduled into
> > the exiting thread. This might also be the reason why one should call
TlsFree
> > from there.
Either I missed something (jumped into the discussion at about this point)
or just don't understand, but why should TlsFree have to be called in the
context of an exiting thread?
// Johan
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk