summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-01-02 14:15:07 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-01-02 14:15:07 +0000
commit0ca3c64737351acbdf4feb28b0e67b9d41ca83d5 (patch)
tree2eaa49de9714429808665979e68776624d5bf2f5
parent4a703963df38428d00e91c17e44c80229c3923e6 (diff)
downloadnuttx-0ca3c64737351acbdf4feb28b0e67b9d41ca83d5.tar.gz
nuttx-0ca3c64737351acbdf4feb28b0e67b9d41ca83d5.tar.bz2
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
-rw-r--r--nuttx/include/nuttx/sched.h2
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