diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-04 21:24:00 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-04 21:24:00 +0000 |
commit | f34406ac488b6d5fb2f50f026e1964fb33ae649d (patch) | |
tree | 7d51b44539ecbfa57e4550023a92357dda1b70e3 /nuttx/sched/pthread_internal.h | |
parent | 7071ca9d21d783827f93fcd25631aa2da8df8fe4 (diff) | |
download | px4-nuttx-f34406ac488b6d5fb2f50f026e1964fb33ae649d.tar.gz px4-nuttx-f34406ac488b6d5fb2f50f026e1964fb33ae649d.tar.bz2 px4-nuttx-f34406ac488b6d5fb2f50f026e1964fb33ae649d.zip |
Divide struct tcb_s into structs task_tcb_s and pthread_tcb_s
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5611 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/pthread_internal.h')
-rw-r--r-- | nuttx/sched/pthread_internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nuttx/sched/pthread_internal.h b/nuttx/sched/pthread_internal.h index 0b4adf758..aa0e8ba15 100644 --- a/nuttx/sched/pthread_internal.h +++ b/nuttx/sched/pthread_internal.h @@ -46,6 +46,7 @@ #include <stdint.h> #include <stdbool.h> #include <pthread.h> +#include <sched.h> #include <nuttx/compiler.h> @@ -96,6 +97,8 @@ extern "C" struct task_group_s; /* Forward reference */ void weak_function pthread_initialize(void); +int pthread_schedsetup(FAR struct tcb_s *tcb, int priority, start_t start, + pthread_startroutine_t entry); int pthread_completejoin(pid_t pid, FAR void *exit_value); void pthread_destroyjoin(FAR struct task_group_s *group, FAR struct join_s *pjoin); |