Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-01-17 02:56:23

----- Original Message -----
From: "terekhov" <terekhov_at_[hidden]>

> Just go back to:
> and this time just do a search on "mutex".

Yes, it locks a mutex in order to implement cancellation protection. Why
isn't it just accessing TLS at this point? It seems strange that other
threads should be contending for this thread's notion of whether
cancellation is disabled.
> The right answer is awaiting you here:
> one more hint: it will throw AND "protect" but it won't be
> a "mutex", in the sense of "pthread_mutex_t" class objects.

This one just looks like another of your mysterious links to me. I can't
understand what I read there, and the comment above is a bit too "hint-y"
for me to understand.


Boost list run by bdawes at, gregod at, cpdaniel at, john at