From 0ca3c64737351acbdf4feb28b0e67b9d41ca83d5 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 2 Jan 2008 14:15:07 +0000 Subject: 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 --- nuttx/include/nuttx/sched.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3