You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/10/31 16:56:35 UTC

[GitHub] [incubator-nuttx] anchao opened a new pull request, #7490: sched/getprioritymax: handle invaild policy as posix style

anchao opened a new pull request, #7490:
URL: https://github.com/apache/incubator-nuttx/pull/7490

   
   ## Summary
   
   sched/getprioritymax: handle invaild policy as posix style
   
   modify the return value according to posix standard
   ------------
   SCHED_GET_PRIORITY_MAX(2)
   
   NAME
          sched_get_priority_max, sched_get_priority_min  - get static priority range
   
   RETURN VALUE
          On success, sched_get_priority_max() and sched_get_priority_min() return the
                      maximum/minimum priority value for the named scheduling policy.
          On error, -1 is returned, and errno is set appropriately.
   
   ERRORS
          EINVAL The argument policy does not identify a defined scheduling policy.
   
   Signed-off-by: chao an <an...@xiaomi.com>
   
   
   https://github.com/linux-test-project/ltp/blob/master/testcases/open_posix_testsuite/conformance/interfaces/sched_get_priority_max/2-1.c#L25
   
   ## Impact
   
   N/A
   
   ## Testing
   
   ci check


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #7490: sched/getprioritymax: handle invaild policy as posix style

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged PR #7490:
URL: https://github.com/apache/incubator-nuttx/pull/7490


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org