summaryrefslogtreecommitdiff
path: root/mkinstalldirs
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-11-11 20:53:07 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2013-11-16 13:15:49 +0100
commite971ab1a229d1ef1d5c1e5e1ff52ec597c55270e (patch)
tree317535692e000e4581edee6b02b53dd3ff282085 /mkinstalldirs
parent8f39f8bf905ca84db4c853733f6a3d3a3011c237 (diff)
libports: implement lockless management of threads
ports_manage_port_operations_multithread uses two values, totalthreads and nreqthreads, to manage the threads it creates. Previously a lock was used to synchronize the access to them. Use atomic operations instead. * libports/manage-multithread.c (ports_manage_port_operations_multithread): Use atomic operations instead of a lock to synchronize the access to totalthreads and nreqthreads.
Diffstat (limited to 'mkinstalldirs')
0 files changed, 0 insertions, 0 deletions