Version 1.1

This commit is contained in:
NIIBE Yutaka
2016-07-01 11:50:25 +09:00
parent 1f23bd4048
commit 09f27704f5
6 changed files with 22 additions and 14 deletions

View File

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

15
NEWS
View File

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

9
README
View File

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

View File

@@ -1 +1 @@
release/1.0
release/1.1

View File

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

View File

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