Skip to content

Run test_wasm_worker_futex_wait also in hybrid mode. NFC#26827

Open
sbc100 wants to merge 1 commit intoemscripten-core:mainfrom
sbc100:futex_wait_pthread_wasm_workers
Open

Run test_wasm_worker_futex_wait also in hybrid mode. NFC#26827
sbc100 wants to merge 1 commit intoemscripten-core:mainfrom
sbc100:futex_wait_pthread_wasm_workers

Conversation

@sbc100
Copy link
Copy Markdown
Collaborator

@sbc100 sbc100 commented Apr 30, 2026

No description provided.

@sbc100 sbc100 requested a review from kripken April 30, 2026 18:01
Copy link
Copy Markdown
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

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

lgtm % comment

Comment thread test/test_core.py Outdated
@sbc100 sbc100 force-pushed the futex_wait_pthread_wasm_workers branch from c8f3359 to bbd207c Compare April 30, 2026 18:42
@sbc100 sbc100 enabled auto-merge (squash) April 30, 2026 18:42
@sbc100 sbc100 force-pushed the futex_wait_pthread_wasm_workers branch 2 times, most recently from 557f2cd to 288bac7 Compare April 30, 2026 19:38
@sbc100
Copy link
Copy Markdown
Collaborator Author

sbc100 commented Apr 30, 2026

Let me know if you want to split out the decorator move/expand as an NFC

@sbc100 sbc100 force-pushed the futex_wait_pthread_wasm_workers branch from 288bac7 to 83d6291 Compare April 30, 2026 20:19
Comment thread test/decorators.py
@wraps(f)
def decorated(self, threads, *args, **kwargs):
if threads:
self.cflags += ['-pthread']
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should this also do require_pthreads()?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

(some of the code replaced did that)

Copy link
Copy Markdown
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

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

lgtm % question

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