Skip to content

Commit 8cf17c3

Browse files
vitalybukamemfrob
authored and
memfrob
committed
[sanitizer] Fix test build on Windows
1 parent f267836 commit 8cf17c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/sanitizer_common/tests/sanitizer_mutex_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ TEST(SanitizerCommon, Semaphore) {
157157
SemaphoreData data = {&sem, false};
158158
pthread_t thread;
159159
PTHREAD_CREATE(&thread, nullptr, SemaphoreThread, &data);
160-
sleep(1);
160+
internal_sleep(1);
161161
CHECK(!data.done);
162162
sem.Post(1);
163163
PTHREAD_JOIN(thread, nullptr);

0 commit comments

Comments
 (0)