aboutsummaryrefslogtreecommitdiff
path: root/nuttx/sched/os_internal.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-23 22:23:46 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-23 22:23:46 +0000
commit340a72b7cdfb3c1c79044f53decc055ee6c06f19 (patch)
treedbc9c30e5aec5ddcdf6f0abd2b9a9416721c9bce /nuttx/sched/os_internal.h
parentf86f863834bf7eae566e4ccce00ecfef3f914b05 (diff)
downloadpx4-firmware-340a72b7cdfb3c1c79044f53decc055ee6c06f19.tar.gz
px4-firmware-340a72b7cdfb3c1c79044f53decc055ee6c06f19.tar.bz2
px4-firmware-340a72b7cdfb3c1c79044f53decc055ee6c06f19.zip
Add logic to retain child task exit status if so configured
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5553 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/os_internal.h')
-rw-r--r--nuttx/sched/os_internal.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/nuttx/sched/os_internal.h b/nuttx/sched/os_internal.h
index b048f00a8..7d5095bad 100644
--- a/nuttx/sched/os_internal.h
+++ b/nuttx/sched/os_internal.h
@@ -264,17 +264,16 @@ extern const tasklist_t g_tasklisttable[NUM_TASK_STATES];
int os_bringup(void);
void task_start(void);
int task_schedsetup(FAR _TCB *tcb, int priority, start_t start,
- main_t main);
+ main_t main, uint8_t ttype);
int task_argsetup(FAR _TCB *tcb, FAR const char *name, FAR const char *argv[]);
void task_exithook(FAR _TCB *tcb, int status);
int task_deletecurrent(void);
#ifdef CONFIG_SCHED_HAVE_PARENT
#ifdef CONFIG_SCHED_CHILD_STATUS
-void weak_functiontask_initialize(void);
+void weak_function task_initialize(void);
FAR struct child_status_s *task_allocchild(void);
void task_freechild(FAR struct child_status_s *status);
-FAR struct child_status_s *task_addchild(FAR _TCB *tcb, pid_t pid, int status,
- uint8_t flags);
+void task_addchild(FAR _TCB *tcb, FAR struct child_status_s *child);
FAR struct child_status_s *task_findchild(FAR _TCB *tcb, pid_t pid);
FAR struct child_status_s *task_removechild(FAR _TCB *tcb, pid_t pid);
void task_removechildren(FAR _TCB *tcb);