
12 Sep
2005
12 Sep
'05
4:17 p.m.
Roland Schwarz schrieb:
While the documentation is explicit about a dying thread that did not realease a mutex he had a hold on (it is abandoned then), I could nothing find for the other case.
The situation unfortunately is even worse: Even if the WaitFor SingleObject would return, this would result in an attempt to close the handle twice. The documentation is explicit on this, stating that this will raise an exception. One way to get around this could be the use of reference counting.... Regards, Roland