Skip to content

Commit

Permalink
Remove unused pthread code. NFC (#21777)
Browse files Browse the repository at this point in the history
This should have been part of #21701
  • Loading branch information
sbc100 authored Apr 17, 2024
1 parent c95f089 commit c75ca97
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/postamble_minimal.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,7 @@ function initRuntime(wasmExports) {
#endif

#if PTHREADS
if (ENVIRONMENT_IS_PTHREAD) {
// Export needed variables that worker.js needs to Module.
Module['HEAPU32'] = HEAPU32;
Module['__emscripten_thread_init'] = __emscripten_thread_init;
Module['__emscripten_thread_exit'] = __emscripten_thread_exit;
Module['_pthread_self'] = _pthread_self;
return;
}
if (ENVIRONMENT_IS_PTHREAD) return
#endif

#if WASM_WORKERS
Expand Down

0 comments on commit c75ca97

Please sign in to comment.