aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2016-05-16 14:50:04 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2016-05-16 14:50:04 +0900
commitb7c6dadcfbc8313e548f8e6c616bf1d7076144d7 (patch)
tree3983fbd2529ee16c68baf503c0e735d295dab7d3 /ChangeLog
parenta82acac8df6de74b9ce406d4bde99b8b5ebb7340 (diff)
Fix IRQ handling and improve cancellation implementation
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog19
1 files changed, 19 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ebba0e5..c2027a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,22 @@
+2016-05-16 NIIBE Yutaka <gniibe@fsij.org>
+
+ * chopstx.h (CHOPSTX_EXIT_SUCCESS, CHOPSTX_EXIT_CANCELED)
+ (CHOPSTX_EXIT_CANCELED_IN_SYNC): Remove.
+ (CHOPSTX_CANCELED): New.
+
+ * chopstx.c (chopstx_testcancel): Use CHOPSTX_CANCELED.
+ (chx_sched, chx_snooze): Re-define return values cleanly.
+ (chopstx_cancel): Use return value of chx_sched to cancel.
+ (chopstx_cond_wait, chopstx_join, chopstx_poll): Implement
+ cancellation rather easier way with return value of chx_sched.
+
+2016-05-15 NIIBE Yutaka <gniibe@fsij.org>
+
+ * chopstx.c (chopstx_claim_irq): Don't register clean up function.
+ (chx_release_irq): Remove.
+ (chopstx_cancel): Disable IRQ when canceled at POLL.
+ (chopstx_poll): Fix IRQ handling.
+
2016-05-13 NIIBE Yutaka <gniibe@fsij.org>
* chopstx.c (chx_handle_intr): Call chx_request_preemption.