Skip to content

Commit 7806443

Browse files
committed
Completely revert doc change
I mistakenly interpreted already-joined as already-detached.
1 parent 1e1761b commit 7806443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/lib/libc/musl/src/thread/pthread_detach.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
static int __pthread_detach(pthread_t t)
55
{
66
#ifdef __EMSCRIPTEN__
7-
// XXX EMSCRIPTEN: Add check for invalid or non-existent threads. Again
7+
// XXX EMSCRIPTEN: Add check for invalid (already joined) thread. Again
88
// for the benefit of the conformance tests.
99
if (t->self != t) return ESRCH;
1010
#endif

0 commit comments

Comments
 (0)