summaryrefslogtreecommitdiff
path: root/sysdeps/generic/pt-getconcurrency.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2014-11-02 02:32:07 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2014-11-02 02:32:07 +0100
commit3360034b7814d90503098700fc18bf07c47838c3 (patch)
treeb18eb13440c56a512f3bb69230181ebb6933155d /sysdeps/generic/pt-getconcurrency.c
parent58a36b39ff9968d203037db496cedd8acbb969c3 (diff)
Wake up queued threads without spin lock held
so that they may have a chance to actually preempt us. Otherwise they will merely immediately fail to acquire the spin lock, and thus preemption will have served no purpose. * sysdeps/generic/pt-cond-brdcast.c (__pthread_cond_broadcast): Unlock cond->__lock while waking the queued thread.
Diffstat (limited to 'sysdeps/generic/pt-getconcurrency.c')
0 files changed, 0 insertions, 0 deletions