Skip to content

Commit 870a773

Browse files
authored
Remove stub for thrd_exit. NFC (#21006)
This stub is not needed since the default implementation simply calls through to pthread_exit, which itself is already stubbed. This also fixes a signature mismatch warning under wasm64 since pthread_exit and thrd_exit don't have the same argument type.
1 parent 672bc1f commit 870a773

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

system/lib/pthread/library_pthread_stub.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,6 @@ _Noreturn void __pthread_exit(void* status) {
224224

225225
weak_alias(__pthread_exit, emscripten_builtin_pthread_exit);
226226
weak_alias(__pthread_exit, pthread_exit);
227-
weak_alias(__pthread_exit, thrd_exit);
228227

229228
int __pthread_detach(pthread_t t) {
230229
return 0;

0 commit comments

Comments
 (0)