aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2016-04-06 21:01:55 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2016-04-06 21:04:24 +0900
commit6db2dd96c55e947bd3cca66d5f647157367825f9 (patch)
tree510dda6e63af11a7c7dc8d8a3a92d19f13b8cc68 /ChangeLog
parent5e6a433457f76da142a10b316aa74995adf8d418 (diff)
New function: chopstx_poll
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog18
1 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9be094a..8b7b762 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,23 @@
2016-04-06 Niibe Yutaka <gniibe@fsij.org>
+ * chopstx.c (struct chx_pq): New struct for priority queue.
+ (struct chx_px): New struct for proxy.
+ (struct chx_thread): New member FLAG_IS_PROXY.
+ (ll_dequeue, ll_insert, ll_pop, ll_prio_push, ll_prio_enqueue)
+ Change API.
+ (THREAD_WAIT_POLL): New thread status.
+ (chx_ready_pop, chx_ready_push, chx_ready_enqueue): Type coercion.
+ (chx_timer_insert, chx_timer_dequeue, chx_timer_expired): Use
+ chx_pq.
+ (chx_handle_intr, chopstx_cancel): Handle THREAD_WAIT_POLL.
+ (chx_init): Type coercion.
+ (chx_exit): Handle proxy for join.
+ (chopstx_create): Initialize the member FLAG_IS_PROXY.
+ (chopstx_cond_signal) Handle proxy.
+ (chx_proxy_init, chopstx_poll): New.
+
+2016-04-06 Niibe Yutaka <gniibe@fsij.org>
+
* chopstx.h (struct chx_qh): New struct.
* chopstx.c (struct chx_queue): Use chx_qh.