summaryrefslogtreecommitdiff
path: root/lib/human
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2017-03-29 00:30:53 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2017-03-29 00:30:53 +0200
commit0c1110ace2f247d2605599bb02f2866aee2ab1c6 (patch)
tree9b70a5d254b5289532e9017a9a00180eaea413d1 /lib/human
parentbfae9e08be692b944ab3018d98693a15ca38a64c (diff)
downloadplan9front-0c1110ace2f247d2605599bb02f2866aee2ab1c6.tar.xz
kernel: fix twakeup()/timerdel() race condition
timerdel() did not make sure that the timer function is not active (on another cpu). just acquiering the Timer lock in the timer function only blocks the caller of timerdel()/timeradd() but not the other way arround (on a multiprocessor). this changes the timer code to track activity of the timer function, having timerdel() wait until the timer has finished executing.
Diffstat (limited to 'lib/human')
0 files changed, 0 insertions, 0 deletions