From 09f27704f5be59ffe12dcb2a8e54083f44b014ee Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka <gniibe@fsij.org> Date: Fri, 1 Jul 2016 11:50:25 +0900 Subject: Version 1.1 --- doc/chopstx-api.texi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'doc/chopstx-api.texi') 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. -- cgit v1.2.3