5833:7ae82c3a781a | 5834:faff125a1ead |
---|---|
40 private: | 40 private: |
41 | 41 |
42 #ifdef __APPLE__ | 42 #ifdef __APPLE__ |
43 typedef thread_t thread_id_t; | 43 typedef thread_t thread_id_t; |
44 #else | 44 #else |
45 typedef pthread_t thread_id_t; | 45 typedef pid_t thread_id_t; |
46 #endif | 46 #endif |
47 | 47 |
48 // _pthread_id is the pthread id, which is used by library calls | 48 // _pthread_id is the pthread id, which is used by library calls |
49 // (e.g. pthread_kill). | 49 // (e.g. pthread_kill). |
50 pthread_t _pthread_id; | 50 pthread_t _pthread_id; |