Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-09-25 06:53:59


From: "Alexander Terekhov" <terekhov_at_[hidden]>
> IMHO a "better" way (which does not require extra synchronization
> and thread id comparison) to track lock ownership status is to
> use TSD (note that the problem of limited number of "native"
> TSD slots could be solved quite easily and with almost no
> overhead with respect to speed of "second level" TSD set/get
> operations).

You are right, the limited number of TSD slots is the main problem with this
approach. The 'id' solution is much easier (user point of view) than
emulating an unlimited TSD.

--
Peter Dimov
Multi Media Ltd.

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