pcbjam/tests/wasm-app
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Viktor Vaczi ad5c4f6772 Fix pthread deadlock by using dynamic PTHREAD_POOL_SIZE
The KiCad WASM build was freezing during initialization due to a pthread
deadlock. When hardware_concurrency() > PTHREAD_POOL_SIZE, new Web Worker
creation requires the event loop, but the main thread busy-waits blocking it.

Changes:
- Use navigator.hardwareConcurrency for PTHREAD_POOL_SIZE in KiCad build
- Add threadpool test to reproduce and verify the fix
- Add single-target build support to build-wasm-test.sh
- Default docker/build.sh to -j 10 for faster builds

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-15 11:47:50 +01:00
..
kicad Fix KiCad WASM startup issues 2025-12-14 16:09:04 +01:00
standalone Fix pthread deadlock by using dynamic PTHREAD_POOL_SIZE 2025-12-15 11:47:50 +01:00
Makefile.wasm Fix pthread deadlock by using dynamic PTHREAD_POOL_SIZE 2025-12-15 11:47:50 +01:00
minimal_test.cpp Add standalone test apps and Playwright specs for wxWidgets WASM 2025-11-29 16:19:13 +01:00
minimal_test.html Fix wxWidgets WASM rendering and add comprehensive tests 2025-11-28 14:28:05 +01:00