[En-Nut-Discussion] Feature Request 1572837: mutex API nesting level info

Przemek Rudy prudy at audiotech.pl
Mon Jul 14 17:36:23 CEST 2008


Matthias Ringwald pisze:
> ...
> semaphore. Even more, a semaphore initialized to one cannot be aquired  
> a second time, even if its by the same thread. that's why the  
> recursive mutex is good for, it allows repeated locking by the  same  
> thread.
Yes, that is the reason...

So I see just up to two questions that need to be answered:
1. If to follow posix or not:
[yes] - do not change anything.
[no]:
2. if the returned mutex counter is useful:
[yes] - then change mutex code
[no]  - do not change anything.



More information about the En-Nut-Discussion mailing list