Menu

#7 critical sections: recursive use

open
nobody
libthread (4)
5
2004-11-01
2004-11-01
No

Critical sections can't currently be used recursively,
This should be made possible.
The simplest way to do this is to keep a pointer to the
owner of the cricitical section (to know whether we're
recursing) and a recursion count (to know when to give
up the lock).

Discussion


Log in to post a comment.