Re: gthread-win32.c



Sebastian Wilhelmi wrote:

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.

You're right.  My bad.

Steven





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