-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests: adjust synchronization tests for Windows (#615)
* Tests: adjust synchronization tests for Windows Windows does not support pthreads. Adjust the tests to use the Windows APIs for locking where the primitive being used is the `SRWLOCK`. * SwiftDocCTestes: extract a helper to check the lock state Address feedback from @Kyle-Ye in #615. This avoids replicating the logic for checking the lock state which is already subtle due to the checking of the return value.
- Loading branch information
Showing
1 changed file
with
28 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters