
1 Nov
2006
1 Nov
'06
9:49 p.m.
Howard Hinnant wrote:
Instead of a recursive_mutex, how would you feel about a recursive_mutex *adaptor* (like stack is to containers). Here's a prototype. Warning, it is not mature:
< prototype snipped > I might miss the point. But the problem is not only how to emulate a recursive mutex, in case the operating system does not allow recursive locking, but how to expose these two kinds if they exist on the opsys API level. If they exist I'd rather use them, instead letting the library emulate. No? Roland