Version 0.11

This commit is contained in:
NIIBE Yutaka
2016-05-19 12:22:30 +09:00
parent 03bba13005
commit 5458b77d36
6 changed files with 29 additions and 18 deletions

19
NEWS
View File

@@ -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.