* threadpool.c: notify listener on async processing handles after
invoking the async callback. Thanks to Zoltan.
svn path=/trunk/mono/; revision=19603
+2003-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * threadpool.c: notify listener on async processing handles after
+ invoking the async callback. Thanks to Zoltan.
+
2003-11-03 Zoltan Varga <vargaz@freemail.hu>
* reflection.c (create_dynamic_mono_image): Call mono_image_init to
ares->completed = 1;
- /* notify listeners */
- ReleaseSemaphore (ac->wait_semaphore, 0x7fffffff, NULL);
-
/* call async callback if cb_method != null*/
if (ac->cb_method) {
MonoObject *exc = NULL;
ac->msg->exc = exc;
}
+ /* notify listeners */
+ ReleaseSemaphore (ac->wait_semaphore, 0x7fffffff, NULL);
+
mono_g_hash_table_remove (ares_htable, ares);
}