Skip to content

Commit

Permalink
Remove Pthread.setExitStatus. NFC (#22441)
Browse files Browse the repository at this point in the history
This should probably have been done as part of #17087.
  • Loading branch information
sbc100 authored Aug 23, 2024
1 parent bdf5b0d commit b5750f5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/library_pthread.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,6 @@ var LibraryPThread = {
},
#endif

#if !MINIMAL_RUNTIME
setExitStatus: (status) => EXITSTATUS = status,
#endif

terminateAllThreads__deps: ['$terminateWorker'],
terminateAllThreads: () => {
#if ASSERTIONS
Expand Down Expand Up @@ -1143,7 +1139,7 @@ var LibraryPThread = {
__emscripten_thread_exit(result);
#else
if (keepRuntimeAlive()) {
PThread.setExitStatus(result);
EXITSTATUS = result;
} else {
__emscripten_thread_exit(result);
}
Expand Down

0 comments on commit b5750f5

Please sign in to comment.