Double lock on wxMutex(wxMUTEX_DEFAULT) allowed?

koen at vermeer.tv koen at vermeer.tv
Tue Oct 2 05:11:16 PDT 2007


> On Tue, 02 Oct 2007 10:08:25 +0200 Koen Vermeer <koen at vermeer.tv> wrote:
>  I've added it now.

Thanks!

> KV> Then, the next question is obviously how to work around this.
>  If you mean how to work around Win32 mutexes always being recursive, then
> I don't know.

The documentation suggests using wxSemaphore with maxcount = 1. I guess
that would be too easy...

Koen





More information about the wx-users mailing list