diff options
| author | Rémi Verschelde | 2017-08-29 00:07:07 +0200 |
|---|---|---|
| committer | GitHub | 2017-08-29 00:07:07 +0200 |
| commit | 9a8a0e20e5b73b6536c92b7b68e827e4f6d18f48 (patch) | |
| tree | a9ccf069b84d7dc7f124d8880d502ab2b133f153 /drivers/unix/thread_posix.h | |
| parent | 0f7376921f8e1d150933c3abb0474b9e8a8d14cc (diff) | |
| parent | d806ad4a3dcf7308147e1a243092d22091560d7d (diff) | |
| download | godot-9a8a0e20e5b73b6536c92b7b68e827e4f6d18f48.tar.gz godot-9a8a0e20e5b73b6536c92b7b68e827e4f6d18f48.tar.zst godot-9a8a0e20e5b73b6536c92b7b68e827e4f6d18f48.zip | |
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 a188d9c34..d6a41ed11 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; |
