Skip to content

Add some testing of the emscripten_condvar API. NFC#26456

Merged
sbc100 merged 1 commit intoemscripten-core:mainfrom
sbc100:condvar_testing
Mar 16, 2026
Merged

Add some testing of the emscripten_condvar API. NFC#26456
sbc100 merged 1 commit intoemscripten-core:mainfrom
sbc100:condvar_testing

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Mar 13, 2026

I think these were forgotten when Wasm Workers were first added in #12833

@sbc100 sbc100 requested a review from dschuff March 13, 2026 23:56
@sbc100 sbc100 force-pushed the condvar_testing branch 3 times, most recently from 0145162 to c77a19d Compare March 13, 2026 23:59
@sbc100 sbc100 requested review from juj and kripken March 13, 2026 23:59
@sbc100 sbc100 enabled auto-merge (squash) March 14, 2026 05:53
}
// At this point we know the waiter took the lock already.
// That means that once we acquire the lock here the waiter
// muste be `emscripten_condvar_waitinf`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// muste be `emscripten_condvar_waitinf`.
// must be `emscripten_condvar_waitinf`.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in followup

@sbc100 sbc100 merged commit 506140a into emscripten-core:main Mar 16, 2026
38 checks passed
@sbc100 sbc100 deleted the condvar_testing branch March 16, 2026 16:34
sbc100 added a commit that referenced this pull request Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants