Christophe de Vienne wrote:


CriticalSection initialise a recursive mutex. For most use it's OK, but some people may need a simple one for performances issue, and there is a third one which can report errors.
What I propose is to give the type of mutex we need to the constructor, with a default to recursive so it won't break code.



Little precision : I can implement this easily with posix thread, but I have no idea how to do this with the win32 api. So if someone can have a look once I commit it that would be cool :-)


Regards,

Christophe




Reply via email to