| 536 | } |
| 537 | |
| 538 | void SC::HttpClientLocalMutex::lock() |
| 539 | { |
| 540 | #if SC_PLATFORM_WINDOWS |
| 541 | EnterCriticalSection(reinterpret_cast<HttpClientLocalMutexStorage*>(storage)); |
| 542 | #elif SC_PLATFORM_APPLE || SC_PLATFORM_LINUX |
| 543 | (void)pthread_mutex_lock(reinterpret_cast<HttpClientLocalMutexStorage*>(storage)); |
| 544 | #endif |
| 545 | } |
| 546 | |
| 547 | void SC::HttpClientLocalMutex::unlock() |
| 548 | { |
no outgoing calls