diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-01-02 14:15:07 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-01-02 14:15:07 +0000 |
commit | 0ca3c64737351acbdf4feb28b0e67b9d41ca83d5 (patch) | |
tree | 2eaa49de9714429808665979e68776624d5bf2f5 /nuttx | |
parent | 4a703963df38428d00e91c17e44c80229c3923e6 (diff) | |
download | px4-nuttx-0ca3c64737351acbdf4feb28b0e67b9d41ca83d5.tar.gz px4-nuttx-0ca3c64737351acbdf4feb28b0e67b9d41ca83d5.tar.bz2 px4-nuttx-0ca3c64737351acbdf4feb28b0e67b9d41ca83d5.zip |
joininfo field not used if PTHREADS suppressed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@478 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/include/nuttx/sched.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/include/nuttx/sched.h b/nuttx/include/nuttx/sched.h index 3fa2eace6..b08e60953 100644 --- a/nuttx/include/nuttx/sched.h +++ b/nuttx/include/nuttx/sched.h @@ -180,7 +180,9 @@ struct _TCB tstate_t task_state; /* Current state of the thread */ uint16 flags; /* Misc. general status flags */ sint16 lockcount; /* 0=preemptable (not-locked) */ +#ifndef CONFIG_DISABLE_PTHREAD FAR void *joininfo; /* Detach-able info to support join */ +#endif #if CONFIG_RR_INTERVAL > 0 int timeslice; /* RR timeslice interval remaining */ #endif |