2009-09-29 Gonzalo Paniagua Javier <gonzalo@novell.com>
commit56bb9260e2f84e220837b4ec53b94651d52ffb95
authorgonzalo <gonzalo@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Tue, 29 Sep 2009 20:55:04 +0000 (29 20:55 +0000)
committergonzalo <gonzalo@e3ebcda4-bce8-0310-ba0a-eca2169e7518>
Tue, 29 Sep 2009 20:55:04 +0000 (29 20:55 +0000)
treecffc70154afeb5e45d94a3681c73d9e1e622a6a1
parentec9c9d1d2df02492ddd72a9a16201ab18d3c5204
2009-09-29 Gonzalo Paniagua Javier <gonzalo@novell.com>

* threadpool.c: fixed the order in which 'completed' and the wait
handle, if any, are set.  Fixes bug #542933 and delegate2.exe
No need to use the wait_handle field of ASyncCall. Make sure the
threadpool is active when adding a job or queueing an idle thread.

git-svn-id: svn+ssh://mono-cvs.ximian.com/source/trunk/mono@142927 e3ebcda4-bce8-0310-ba0a-eca2169e7518
mono/metadata/ChangeLog
mono/metadata/threadpool.c