Re: gthread-win32.c



Hi Steven,

> 227 g_mutex_unlock (entered_mutex);
> 228
> 229 win32_check_for_error (WAIT_FAILED !=
> 230 (retval = WaitForSingleObject (event, milliseconds)));
> 231
> 232 wilhelmi 1.1 g_mutex_lock (entered_mutex);

> Line 232: the mutex is relocked even if the wait times out.

Yes, it is supposed to do that, I think.

Bye,
Sebastian
-- 
Sebastian Wilhelmi
mailto:wilhelmi ira uka de
http://goethe.ira.uka.de/~wilhelmi




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