[PATCH] D60476: [TSan][libdispatch] Change test to have two simultaneous timers
Julian Lettner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 11 11:14:51 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL358204: [TSan][libdispatch] Change test to have two simultaneous timers (authored by yln, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D60476?vs=194367&id=194723#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60476/new/
https://reviews.llvm.org/D60476
Files:
compiler-rt/trunk/test/tsan/Darwin/gcd-after.mm
Index: compiler-rt/trunk/test/tsan/Darwin/gcd-after.mm
===================================================================
--- compiler-rt/trunk/test/tsan/Darwin/gcd-after.mm
+++ compiler-rt/trunk/test/tsan/Darwin/gcd-after.mm
@@ -27,12 +27,12 @@
dispatch_semaphore_signal(done);
});
- dispatch_semaphore_wait(done, DISPATCH_TIME_FOREVER);
my_global2 = 10;
dispatch_after_f(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(10 * NSEC_PER_MSEC)), q, NULL, &callback);
dispatch_semaphore_wait(done, DISPATCH_TIME_FOREVER);
+ dispatch_semaphore_wait(done, DISPATCH_TIME_FOREVER);
fprintf(stderr, "done\n");
return 0;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60476.194723.patch
Type: text/x-patch
Size: 641 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190411/ecab0c10/attachment.bin>
More information about the llvm-commits
mailing list