Updated remove_wsq.
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Thu, 18 Nov 2010 00:19:22 +0000 (19:19 -0500)
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Thu, 18 Nov 2010 00:19:22 +0000 (19:19 -0500)
commit3d5f9dedc7b4ffd10663f155e79cc9c9e653b042
treef1a4b0de8141d2329ced0dced8a86bd5aaa25774
parent968c36409ff7820553671872c360704cf56aec9d
Updated remove_wsq.

remove_wsq() should only clean up the queue when the runtime is shutting down.
In any other case, removing a queue that still contains work items is an error.
mono/metadata/threadpool.c