diff options
Diffstat (limited to 'drivers/unix/thread_posix.h')
-rw-r--r-- | drivers/unix/thread_posix.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/unix/thread_posix.h b/drivers/unix/thread_posix.h index 21e1d290a9..70235dfeef 100644 --- a/drivers/unix/thread_posix.h +++ b/drivers/unix/thread_posix.h @@ -42,6 +42,9 @@ class ThreadPosix : public Thread { + static pthread_key_t thread_id_key; + static ID next_thread_id; + pthread_t pthread; pthread_attr_t pthread_attr; ThreadCreateCallback callback; |