summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS19
1 files changed, 10 insertions, 9 deletions
diff --git a/NEWS b/NEWS
index f5c0afb..5527201 100644
--- a/NEWS
+++ b/NEWS
@@ -10,24 +10,25 @@ New function chopstx_poll is added to watch multiple condition
variables, threads' exit, or IRQ, simultaneously with timeout.
** Change API of eventflag
-
-The initialization function eventflag_init only has EV. The eventflag
-is can be waited with timeout or can be waited with no timeout,
-dynamically. It is not determined at initialization time. Besides,
-the eventflag can be waited by any threads.
-
+The initialization function eventflag_init only has an argument of EV.
+An eventflag can be waited with timeout or can be waited with no
+timeout, as caller like. It is not determined at initialization time
+now. Besides, the eventflag can be waited by any threads. Functions
+to poll eventflag together with other events (cond, join, and IRQ) are
+provided.
** Removal of the function chopstx_release_irq
IRQ is enabled only when a thread is blocked in polling. When it (the
thread in polling) is canceled, IRQ is disabled.
** Removal of the function chopstx_main_init
-Removed because it's too special. Please use chopstx_setpriority
-instead.
+It is removed because it's too special. Please use
+chopstx_setpriority instead.
** New function: chopstx_setpriority
This function is not recommended in general. It is only added to
-offer the purpose of chopstx_main_init.
+support the usage when main thread wants to change the schedule
+priority after creating other threads.
** Function chopstx_intr_wait is deprecated
Use of chopstx_poll is recommended.