mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
sched: export sched_getcpu API in AMP mode
Some app with same code runs on different cores in AMP mode, need known physical core id on which the function is called. Signed-off-by: fangxinyong <fangxinyong@xiaomi.com>
This commit is contained in:
parent
56495bc9ce
commit
76508d42a9
6 changed files with 9 additions and 15 deletions
|
|
@ -136,7 +136,7 @@
|
|||
"rmmod","nuttx/module.h","defined(CONFIG_MODULE)","int","FAR void *"
|
||||
"sched_backtrace","sched.h","defined(CONFIG_SCHED_BACKTRACE)","int","pid_t","FAR void **","int","int"
|
||||
"sched_getaffinity","sched.h","defined(CONFIG_SMP)","int","pid_t","size_t","FAR cpu_set_t *"
|
||||
"sched_getcpu","sched.h","defined(CONFIG_SMP)","int"
|
||||
"sched_getcpu","sched.h","","int"
|
||||
"sched_getparam","sched.h","","int","pid_t","FAR struct sched_param *"
|
||||
"sched_getscheduler","sched.h","","int","pid_t"
|
||||
"sched_lock","sched.h","","int"
|
||||
|
|
|
|||
|
Can't render this file because it has a wrong number of fields in line 2.
|
Loading…
Add table
Add a link
Reference in a new issue