aboutsummaryrefslogtreecommitdiffhomepage
path: root/old-configure
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2014-04-23 20:43:31 +0200
committerGravatar wm4 <wm4@nowhere>2014-04-23 21:16:52 +0200
commit29b726039821ff3f0435644c791412ed8a75319a (patch)
treec689b69cb1488b8d3591ee4137b0005f265fe4c9 /old-configure
parented7e7e2eb407031b3ba79bf485c1cdd34b7a2baf (diff)
dispatch: use a real lock for mp_dispatch_lock()
This is much simpler, leaves fairness isues etc. to the operating system, and will work better with threading-related debugging tools. The "trick" to this is that the lock can be acquired and held only while the queue is in suspend mode. This way we don't need to make sure the lock is held outside of mp_dispatch_queue_process, which would be quite messy to get right, because it would have to be in locked state by default.
Diffstat (limited to 'old-configure')
0 files changed, 0 insertions, 0 deletions