diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-11-02 02:32:07 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-11-02 02:32:07 +0100 |
commit | 3360034b7814d90503098700fc18bf07c47838c3 (patch) | |
tree | b18eb13440c56a512f3bb69230181ebb6933155d /sysdeps/generic/signal.c | |
parent | 58a36b39ff9968d203037db496cedd8acbb969c3 (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/signal.c')
0 files changed, 0 insertions, 0 deletions