Skip to content

Commit 7ab2ad6

Browse files
committed
Lowered lock wait time
1 parent 955342a commit 7ab2ad6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/webaudio/audioworklet_emscripten_locks.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ void printDummy(Dummy* dummy) {
6767
// Run a simple calculation that will only be stable *if* all values are atomically updated
6868
void runCalcs(Dummy* dummy, int num) {
6969
for (int n = 0; n < num; n++) {
70-
int have = emscripten_lock_busyspin_wait_acquire(&testLock, 100);
70+
int have = emscripten_lock_busyspin_wait_acquire(&testLock, 10);
7171
assert(have);
7272
dummy->val0 += dummy->val1 * dummy->val2;
7373
dummy->val1 += dummy->val2 * dummy->val0;

0 commit comments

Comments
 (0)