mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 06:01:35 +08:00
Add a start hook that can be setup to call a function in the context of a new thread before the new threads main() has been called.
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5571 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -54,6 +54,10 @@ TSK_SRCS += task_posixspawn.c
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_SCHED_STARTHOOK),y)
|
||||
TSK_SRCS += task_starthook.c
|
||||
endif
|
||||
|
||||
SCHED_SRCS = sched_setparam.c sched_setpriority.c sched_getparam.c
|
||||
SCHED_SRCS += sched_setscheduler.c sched_getscheduler.c
|
||||
SCHED_SRCS += sched_yield.c sched_rrgetinterval.c sched_foreach.c
|
||||
|
||||
Reference in New Issue
Block a user