Change behavior of chopstx_poll to correctly update *USEC_P.

This commit is contained in:
NIIBE Yutaka
2018-12-07 18:01:39 +09:00
parent 39683dbc5f
commit 1400e677e3
3 changed files with 37 additions and 13 deletions

View File

@@ -1,3 +1,10 @@
2018-12-07 NIIBE Yutaka <gniibe@fsij.org>
* chopstx.c (chx_timer_dequeue): Return ticks remained.
(chx_wakeup, chopstx_mutex_lock): Use return value of
chx_timer_dequeue.
(chx_snooze): Update *USEC_P, accordingly.
2018-11-12 NIIBE Yutaka <gniibe@fsij.org>
* VERSION: 1.12.