projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
772573f
)
[sgen] Shutdown thread pool worker even if it's not active
author
Vlad Brezae
<brezaevlad@gmail.com>
Thu, 2 Mar 2017 14:28:25 +0000
(16:28 +0200)
committer
Vlad Brezae
<brezaevlad@gmail.com>
Thu, 30 Mar 2017 11:13:24 +0000
(14:13 +0300)
mono/sgen/sgen-thread-pool.c
patch
|
blob
|
history
diff --git
a/mono/sgen/sgen-thread-pool.c
b/mono/sgen/sgen-thread-pool.c
index 6f164d278c1b7d9b9a075c3de72506c0d2ba021a..f2aef3ae02363d6ccb3d107fce8f8a7f39d38cbb 100644
(file)
--- a/
mono/sgen/sgen-thread-pool.c
+++ b/
mono/sgen/sgen-thread-pool.c
@@
-108,7
+108,7
@@
thread_func (void *thread_data)
gboolean do_idle;
SgenThreadPoolJob *job;
- if (!should_work (thread_data)) {
+ if (!should_work (thread_data)
&& !threadpool_shutdown
) {
mono_os_cond_wait (&work_cond, &lock);
continue;
}