diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-27 15:52:58 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-27 15:52:58 +0000 |
commit | e96d8f046b6bce6c4e810b302c1cc1cc578bdae3 (patch) | |
tree | debe53d5a4c8d5a904b5487d632995bbab5a11a2 /nuttx/ChangeLog | |
parent | 47b94bafa5045532f239ea57a3610873b1a71368 (diff) | |
download | px4-firmware-e96d8f046b6bce6c4e810b302c1cc1cc578bdae3.tar.gz px4-firmware-e96d8f046b6bce6c4e810b302c1cc1cc578bdae3.tar.bz2 px4-firmware-e96d8f046b6bce6c4e810b302c1cc1cc578bdae3.zip |
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
Diffstat (limited to 'nuttx/ChangeLog')
-rw-r--r-- | nuttx/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 255d69a3d..32112f358 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -4040,3 +4040,9 @@ Move stream data from the TCB to the task group structure. * net/, sched/, and include/nuttx/net/net.h: Move socket data from the TCB to the task group structure. + * sched/task_starthook.c, sched/task_start.c, and include/nuttx/sched.h: + Add a task start hook that will be called before the task main + is started. This can be used to schedule C++ constructors to run + automatically in the context of the new task. + * binfmt/binfmt_execmodule: Execute constructors as a start hook. + |