Mateusz Guzik cec1747322 sx: change sunlock to wake waiters up if it locked sleepq
sleepq is only locked if the curhtread is the last reader. By the time
the lock gets acquired new ones could have arrived. The previous code
would unlock and loop back. This results spurious relocking of sleepq.

This is a step towards xadd-based unlock routine.
2017-11-25 20:13:50 +00:00
..
2017-11-04 15:41:08 +00:00
2017-10-12 15:48:37 +00:00
2016-11-08 23:59:41 +00:00
2017-05-18 18:24:11 +00:00
2017-08-15 02:21:02 +00:00
2017-11-01 06:46:58 +00:00
2017-01-25 20:22:32 +00:00
2017-02-14 13:54:05 +00:00
2017-11-05 19:49:44 +00:00
2017-08-07 14:09:57 +00:00
2016-11-08 23:59:41 +00:00
2017-10-22 13:42:56 +00:00
2017-02-07 16:01:07 +00:00
2017-06-17 00:58:19 +00:00
2017-06-17 00:58:19 +00:00
2017-05-23 09:29:05 +00:00
2017-05-23 09:29:05 +00:00
2017-06-08 21:30:34 +00:00
2017-06-15 04:49:12 +00:00
2017-10-26 19:45:15 +00:00