Backport struct qh changes from master.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
19
ChangeLog
19
ChangeLog
@@ -1,3 +1,22 @@
|
||||
2022-04-21 NIIBE Yutaka <gniibe@fsij.org>
|
||||
|
||||
Backport the changes from master.
|
||||
* chopstx.c (struct chx_pq): Use struct qh.
|
||||
(struct chx_px): Use struct qh.
|
||||
(struct chx_thread): Use struct qh.
|
||||
(FOR_QUEUE): Remove.
|
||||
(ll_dequeue): Follow the changes of above.
|
||||
(ll_prio_push): Use struct qh for the loop.
|
||||
(ll_prio_enqueue): Likewise.
|
||||
(chx_set_timer): Use struct qh for the first argument.
|
||||
(chx_timer_insert, chx_timer_dequeue): Use struct qh for the loop.
|
||||
(chx_timer_expired): Likewise.
|
||||
(chx_init, chopstx_create, chx_proxy_init): Use the address at q.
|
||||
(chx_exit): Use struct qh for the loop.
|
||||
(chx_mutex_unlock): Fix the calculation of the priority.
|
||||
* chopstx-cortex-m.c (chx_handle_intr): Not use FOR_QUEUE macro.
|
||||
* chopstx-gnu-linux.c (chx_handle_intr): Not use FOR_QUEUE macro.
|
||||
|
||||
2022-04-08 NIIBE Yutaka <gniibe@fsij.org>
|
||||
|
||||
Backport the changes from master.
|
||||
|
||||
Reference in New Issue
Block a user