diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/rtdef.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/rtdef.h b/include/rtdef.h index 94c2466f0b..0de2c22ec4 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -690,9 +690,13 @@ struct rt_thread rt_ubase_t remaining_tick; /**< remaining tick */ #ifdef RT_USING_CPU_USAGE - rt_uint64_t duration_tick; /**< cpu usage tick */ + rt_uint64_t duration_tick; /**< cpu usage tick */ #endif /* RT_USING_CPU_USAGE */ +#ifdef RT_USING_PTHREADS + void *pthread_data; /**< the handle of pthread data, adapt 32/64bit */ +#endif /* RT_USING_PTHREADS */ + struct rt_timer thread_timer; /**< built-in thread timer */ void (*cleanup)(struct rt_thread *tid); /**< cleanup function when thread exit */ |
