| 250 | } |
| 251 | |
| 252 | thread::id thread::get_id() const |
| 253 | { |
| 254 | if(!joinable()) |
| 255 | return id(); |
| 256 | #if defined(_TTHREAD_WIN32_) |
| 257 | return id((unsigned long int) mWin32ThreadID); |
| 258 | #elif defined(_TTHREAD_POSIX_) |
| 259 | return _pthread_t_to_ID(mHandle); |
| 260 | #endif |
| 261 | } |
| 262 | |
| 263 | unsigned thread::hardware_concurrency() |
| 264 | { |
nothing calls this directly
no test coverage detected