aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/threads.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-02-14 18:20:33 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-02-14 18:20:33 +0000
commitfa9b36aff3676a897503a359314d08db8fc5a09d (patch)
treed7cbfc124faa41fa4ca14c270a178139931df8ad /src/include/threads.h
parent50708b39516b77397dc76195ab963aa5909e48b0 (diff)
downloadChibiOS-fa9b36aff3676a897503a359314d08db8fc5a09d.tar.gz
ChibiOS-fa9b36aff3676a897503a359314d08db8fc5a09d.tar.bz2
ChibiOS-fa9b36aff3676a897503a359314d08db8fc5a09d.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@766 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/include/threads.h')
-rw-r--r--src/include/threads.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/include/threads.h b/src/include/threads.h
index 29ed7f21f..be48fcbb3 100644
--- a/src/include/threads.h
+++ b/src/include/threads.h
@@ -59,6 +59,8 @@ struct Thread {
msg_t p_rdymsg; /**< Thread wakeup code.*/
msg_t p_exitcode; /**< The thread exit code
(@p PREXIT state).*/
+ void *p_wtobjp; /**< Generic kernel object pointer used
+ for opaque access.*/
#if CH_USE_SEMAPHORES
Semaphore *p_wtsemp; /**< Semaphore where the thread is
waiting on (@p PRWTSEM state).*/
@@ -79,10 +81,6 @@ struct Thread {
eventmask_t p_ewmask; /**< Enabled events mask (@p PRWTOREVT
or @p PRWTANDEVT states).*/
#endif
-#if CH_USE_TRACE
- void *p_wtobjp; /**< Generic kernel object pointer used
- for opaque access.*/
-#endif
};
/*
* Start of the optional fields.