| 486 | } |
| 487 | |
| 488 | uint32_t TlsSetValue(uint32_t index, size_t value) |
| 489 | { |
| 490 | int status = pthread_setspecific(pthread_key_t(index), reinterpret_cast<void*>(value)); |
| 491 | PX_ASSERT(!status); |
| 492 | return !status; |
| 493 | } |
| 494 | |
| 495 | // DM: On Linux x86-32, without implementation-specific restrictions |
| 496 | // the default stack size for a new thread should be 2 megabytes (kernel.org). |
no outgoing calls
no test coverage detected