mirror of
https://github.com/apache/nuttx.git
synced 2026-10-17 02:59:45 +00:00
libc/spawn:support get/set priority
support get/set priority Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
parent
6c18cfd472
commit
fea492cf6f
6 changed files with 149 additions and 1 deletions
|
|
@ -208,7 +208,9 @@ int posix_spawnattr_getstacksize(FAR const posix_spawnattr_t *attr,
|
|||
FAR size_t *stacksize);
|
||||
int posix_spawnattr_setstacksize(FAR posix_spawnattr_t *attr,
|
||||
size_t stacksize);
|
||||
|
||||
int posix_spawnattr_setpriority(FAR posix_spawnattr_t *attr,
|
||||
uint8_t priority);
|
||||
uint8_t posix_spawnattr_getpriority(FAR posix_spawnattr_t *attr);
|
||||
#ifndef CONFIG_BUILD_KERNEL
|
||||
int posix_spawnattr_getstackaddr(FAR const posix_spawnattr_t *attr,
|
||||
FAR void **stackaddr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue