projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
glib: Rewrite gatomic.[ch]
[platform/upstream/glib.git]
/
glib
/
gthreadpool.c
diff --git
a/glib/gthreadpool.c
b/glib/gthreadpool.c
index
d6fac92
..
bde519f
100644
(file)
--- a/
glib/gthreadpool.c
+++ b/
glib/gthreadpool.c
@@
-207,7
+207,7
@@
g_thread_pool_wait_for_new_pool (void)
}
else
{
- if (g_atomic_int_
exchange_and_
add (&kill_unused_threads, -1) > 0)
+ if (g_atomic_int_add (&kill_unused_threads, -1) > 0)
{
pool = NULL;
break;