summaryrefslogtreecommitdiff
path: root/nuttx/sched/group_leave.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-04 15:29:19 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-04 15:29:19 +0000
commitc13bd69be3d117b359275bcf3b2d631bb19bd597 (patch)
tree9c91903e231aef3df957485f489d9ebac2fa330d /nuttx/sched/group_leave.c
parent309ad4ddf471013483b1775e2438562b91a44653 (diff)
downloadpx4-nuttx-c13bd69be3d117b359275bcf3b2d631bb19bd597.tar.gz
px4-nuttx-c13bd69be3d117b359275bcf3b2d631bb19bd597.tar.bz2
px4-nuttx-c13bd69be3d117b359275bcf3b2d631bb19bd597.zip
Move atexit/on_exit data structures to task group; Now callbacks only occur when the final member of the task group exits
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5607 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/group_leave.c')
-rw-r--r--nuttx/sched/group_leave.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/sched/group_leave.c b/nuttx/sched/group_leave.c
index 1373a25a2..e56952a7b 100644
--- a/nuttx/sched/group_leave.c
+++ b/nuttx/sched/group_leave.c
@@ -48,8 +48,9 @@
#include <nuttx/net/net.h>
#include <nuttx/lib.h>
-#include "group_internal.h"
#include "env_internal.h"
+#include "pthread_internal.h"
+#include "group_internal.h"
#ifdef HAVE_TASK_GROUP