mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Unlock the pool for all threads leaving it. (#78348)
2002-04-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * glib/gthreadpool.c (g_thread_pool_thread_proxy): Unlock the pool for all threads leaving it. (#78348)
This commit is contained in:
parent
0dac3e9e49
commit
64855733d7
@ -1,3 +1,8 @@
|
||||
2002-04-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* glib/gthreadpool.c (g_thread_pool_thread_proxy): Unlock the pool
|
||||
for all threads leaving it. (#78348)
|
||||
|
||||
2002-04-11 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/patterntest.c: Remove manual UTF-8 -> Latin1 conversion for
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-04-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* glib/gthreadpool.c (g_thread_pool_thread_proxy): Unlock the pool
|
||||
for all threads leaving it. (#78348)
|
||||
|
||||
2002-04-11 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/patterntest.c: Remove manual UTF-8 -> Latin1 conversion for
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-04-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* glib/gthreadpool.c (g_thread_pool_thread_proxy): Unlock the pool
|
||||
for all threads leaving it. (#78348)
|
||||
|
||||
2002-04-11 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/patterntest.c: Remove manual UTF-8 -> Latin1 conversion for
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-04-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* glib/gthreadpool.c (g_thread_pool_thread_proxy): Unlock the pool
|
||||
for all threads leaving it. (#78348)
|
||||
|
||||
2002-04-11 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/patterntest.c: Remove manual UTF-8 -> Latin1 conversion for
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-04-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* glib/gthreadpool.c (g_thread_pool_thread_proxy): Unlock the pool
|
||||
for all threads leaving it. (#78348)
|
||||
|
||||
2002-04-11 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/patterntest.c: Remove manual UTF-8 -> Latin1 conversion for
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-04-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* glib/gthreadpool.c (g_thread_pool_thread_proxy): Unlock the pool
|
||||
for all threads leaving it. (#78348)
|
||||
|
||||
2002-04-11 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/patterntest.c: Remove manual UTF-8 -> Latin1 conversion for
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-04-13 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* glib/gthreadpool.c (g_thread_pool_thread_proxy): Unlock the pool
|
||||
for all threads leaving it. (#78348)
|
||||
|
||||
2002-04-11 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/patterntest.c: Remove manual UTF-8 -> Latin1 conversion for
|
||||
|
@ -134,10 +134,9 @@ g_thread_pool_thread_proxy (gpointer data)
|
||||
watcher = TRUE;
|
||||
}
|
||||
|
||||
|
||||
if (goto_global_pool)
|
||||
{
|
||||
pool->num_threads--;
|
||||
pool->num_threads--;
|
||||
|
||||
if (!pool->running && !pool->waiting)
|
||||
{
|
||||
@ -146,9 +145,11 @@ g_thread_pool_thread_proxy (gpointer data)
|
||||
g_async_queue_unlock (pool->queue);
|
||||
g_thread_pool_free_internal (pool);
|
||||
}
|
||||
else if (len == - pool->num_threads)
|
||||
else
|
||||
{
|
||||
g_thread_pool_wakeup_and_stop_all (pool);
|
||||
if (len == - pool->num_threads)
|
||||
g_thread_pool_wakeup_and_stop_all (pool);
|
||||
|
||||
g_async_queue_unlock (pool->queue);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user