We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e1761b commit 7806443Copy full SHA for 7806443
system/lib/libc/musl/src/thread/pthread_detach.c
@@ -4,7 +4,7 @@
4
static int __pthread_detach(pthread_t t)
5
{
6
#ifdef __EMSCRIPTEN__
7
- // XXX EMSCRIPTEN: Add check for invalid or non-existent threads. Again
+ // XXX EMSCRIPTEN: Add check for invalid (already joined) thread. Again
8
// for the benefit of the conformance tests.
9
if (t->self != t) return ESRCH;
10
#endif
0 commit comments