diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2016-07-01 11:50:25 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2016-07-01 11:50:25 +0900 |
commit | 09f27704f5be59ffe12dcb2a8e54083f44b014ee (patch) | |
tree | 3692da96ac31240a0cad689c903e1990feb0783f | |
parent | 1f23bd4048610ce98f3a77e28feff8a0cd346208 (diff) |
Version 1.1release/1.1
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | NEWS | 15 | ||||
-rw-r--r-- | README | 9 | ||||
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | doc/chopstx-api.texi | 5 | ||||
-rw-r--r-- | doc/chopstx.texi | 2 |
6 files changed, 22 insertions, 14 deletions
@@ -1,5 +1,8 @@ 2016-07-01 NIIBE Yutaka <gniibe@fsij.org> + * VERSION: 1.1. + * doc/chopstx.texi (VERSION): 1.1. + * chopstx.c (chopstx_setpriority): Change the API. 2016-06-30 NIIBE Yutaka <gniibe@fsij.org> @@ -3,13 +3,18 @@ NEWS - Noteworthy changes * Major changes in Chopstx 1.1 - Released 2016-07-XX + Released 2016-07-01 ** API change: chopstx_poll -In version 1.0, chopstx_poll has variable arguments. It found -that it's challenging for ffi or lower level C implementation. -An example is that a program touches FPU registers for varargs. -So, we decided to avoid use of varargs in Chopstx. +In version 1.0, chopstx_poll has variable arguments. It found that +it's challenging for ffi or lower level C implementation, if C +compiler is new for the specific MCU target. Another example is that +a program touches FPU registers for varargs, even if no argument is +float. So, we decided to avoid use of varargs in Chopstx. + +** API change: chopstx_setpriority +In version 1.0, chopstx_setpriority does not return value. It is +changed to return old value of the priority. * Major changes in Chopstx 1.0 @@ -1,6 +1,6 @@ Chopstx - Threads and only Threads - Version 1.0 - 2016-06-16 + Version 1.1 + 2016-07-01 Niibe Yutaka Flying Stone Technology @@ -45,8 +45,9 @@ For STM32 Primer2, see the directory: example-primer2. Future Works ============ -Convenience function to determine the bottom of thread stack, thread -local storage would be next things to be done. +Convenience function to determine the bottom of thread stack, +configuration of thread size by comiler's output would be next things +to be done. Experimental SMP port for Cortex-A7 is under development. For SMP, more careful considerations for shared access to objects of struct @@ -1 +1 @@ -release/1.0 +release/1.1 diff --git a/doc/chopstx-api.texi b/doc/chopstx-api.texi index 486907d..03e1a3a 100644 --- a/doc/chopstx-api.texi +++ b/doc/chopstx-api.texi @@ -190,10 +190,9 @@ Returns number of active descriptors. @subheading chopstx_setpriority @anchor{chopstx_setpriority} -@deftypefun {void} {chopstx_setpriority} (chopstx_prio_t @var{prio}) -@var{prio}: priority - +@deftypefun {chopstx_prio_t} {chopstx_setpriority} (chopstx_prio_t @var{prio_new}) Change the schedule priority with @var{prio}. +Returns the old priority. In general, it is not recommended to use this function because dynamically changing schedule priorities complicates the system. diff --git a/doc/chopstx.texi b/doc/chopstx.texi index 0633b92..0550b09 100644 --- a/doc/chopstx.texi +++ b/doc/chopstx.texi @@ -1,7 +1,7 @@ \input texinfo @c -*-texinfo-*- @c %**start of header @setfilename chopstx.info -@set VERSION 1.0 +@set VERSION 1.1 @settitle Chopstx Reference Manual @c Unify some of the indices. @syncodeindex tp fn |