| 57 | } |
| 58 | |
| 59 | inline void queuing_rw_mutex::scoped_lock::acquire_internal_lock() |
| 60 | { |
| 61 | // Usually, we would use the test-test-and-set idiom here, with exponential backoff. |
| 62 | // But so far, experiments indicate there is no value in doing so here. |
| 63 | while( !try_acquire_internal_lock() ) { |
| 64 | __TBB_Pause(1); |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | inline void queuing_rw_mutex::scoped_lock::release_internal_lock() |
| 69 | { |
nothing calls this directly
no test coverage detected