Re: Can someone help me get rid of XLib errors? please



Tim Flechtner wrote:

> if you grab a mutex lock around your gtk_main, then try to acquire the
> lock from within a call back (presumably executed by the gtk loop),
> won't you deadlock (the lock has already been acquired, and not yet
> released)?
Some callbacks (for example widget events like "clicked") happen with
lock held by gtk_main, others (for example timeouts, g_io_*) happen with
lock released. It's in the docs somewhere.

BYtE,
 Diego.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]