aboutsummaryrefslogtreecommitdiff
path: root/doc
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 /doc
parent1f23bd4048610ce98f3a77e28feff8a0cd346208 (diff)
Version 1.1release/1.1
Diffstat (limited to 'doc')
-rw-r--r--doc/chopstx-api.texi5
-rw-r--r--doc/chopstx.texi2
2 files changed, 3 insertions, 4 deletions
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