Skip to content

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Dec 17, 2025

No description provided.

@sbc100 sbc100 requested review from dschuff and kripken December 17, 2025 18:26
@sbc100 sbc100 enabled auto-merge (squash) December 17, 2025 19:58

@parameterized({
'': ([],),
'pthreads': (['-pthread', '-sPROXY_TO_PTHREAD', '-sEXIT_RUNTIME'],),
Copy link
Member

Choose a reason for hiding this comment

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

This also added coverage for EXIT_RUNTIME?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think this was added conservatively (since sometime we had issues with EXIT_RUNTIME being needed with PROXY_TO_PTHREAD. However, since removing it doesn't break the test I think its the right thing to do here.

@sbc100 sbc100 merged commit bbf552e into emscripten-core:main Dec 17, 2025
35 checks passed
@sbc100 sbc100 deleted the proxy_to_pthread branch December 17, 2025 20:28
sbc100 added a commit that referenced this pull request Dec 17, 2025
- Cleanup implemenation of SDL_Delay
- Add testing of SDL_Timer/SDL_Delay under SDL1
- Add testing of SDL_Timer/SDL_Delay when running on pthread
- Rename test_sdl2_timer.c -> test_sdl_timer.c since it works with both
  SDL1 and SDL2
- Avoid taking the address of stack locals in test_sdl_timer.c.

Depends on #25971
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