aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2016-07-01 11:50:25 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2016-07-01 11:50:25 +0900
commit09f27704f5be59ffe12dcb2a8e54083f44b014ee (patch)
tree3692da96ac31240a0cad689c903e1990feb0783f
parent1f23bd4048610ce98f3a77e28feff8a0cd346208 (diff)
Version 1.1release/1.1
-rw-r--r--ChangeLog3
-rw-r--r--NEWS15
-rw-r--r--README9
-rw-r--r--VERSION2
-rw-r--r--doc/chopstx-api.texi5
-rw-r--r--doc/chopstx.texi2
6 files changed, 22 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog
index 3e1e1e9..4b937d5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
diff --git a/NEWS b/NEWS
index a1ac1c5..fa090b1 100644
--- a/NEWS
+++ b/NEWS
@@ -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
diff --git a/README b/README
index b11d189..a7198f2 100644
--- a/README
+++ b/README
@@ -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
diff --git a/VERSION b/VERSION
index 82f3c06..219e45e 100644
--- a/VERSION
+++ b/VERSION
@@ -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