Author: mjmartin
Date: Sat May 16 04:48:14 2009
New Revision: 40932
URL:
http://svn.reactos.org/svn/reactos?rev=40932&view=rev
Log:
- timer_queue_thread_proc: Add missing and required RtlExitUserThread before function
exit. Fixes crashing of kernel32_winetest for sync.
Modified:
trunk/reactos/lib/rtl/timerqueue.c
Modified: trunk/reactos/lib/rtl/timerqueue.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/timerqueue.c?rev=4…
==============================================================================
--- trunk/reactos/lib/rtl/timerqueue.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/timerqueue.c [iso-8859-1] Sat May 16 04:48:14 2009
@@ -239,6 +239,7 @@
NtClose(q->event);
RtlDeleteCriticalSection(&q->cs);
RtlFreeHeap(RtlGetProcessHeap(), 0, q);
+ RtlExitUserThread(STATUS_SUCCESS);
}
static void queue_destroy_timer(struct queue_timer *t)