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
This commit is contained in:
patacongo
2008-01-02 14:15:07 +00:00
parent 424eae4cfb
commit d54f596884
+2
View File
@@ -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