Overview
| Comment: | Fix [5974ff814c]: on Unix, Tcl_JoinThread() called pthread_join() for detached threads, which is undefined behavior (hangs on musl, "succeeds" on glibc for an exited thread). Keep the list of joinable threads, and join only those, only once. Tests thread-5.3 to thread-5.5. |
|---|---|
| Timelines: | family | ancestors | descendants | both | unix-join-detached-thread |
| Files: | files | file ages | folders |
| SHA3-256: |
e39d1f0e984f5921c574d5b528929cc7 |
| User & Date: | serhiy.storchaka on 2026-10-14 19:45:27.932 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-10-16
| ||
| 13:46 | Fix [5974ff]: on Unix, Tcl_JoinThread() should not call pthread_join() for detached threads check-in: 30d8ccce48 user: jan.nijtmans tags: trunk, main | |
|
2026-10-14
| ||
| 19:45 | Fix [5974ff814c]: on Unix, Tcl_JoinThread() called pthread_join() for detached threads, which is und... closed check-in: e39d1f0e98 user: serhiy.storchaka tags: unix-join-detached-thread | |
| 13:18 | Fix [9336f1907d]: remove empty directories from the zipfs VFS with POSIX find options check-in: 57f8022596 user: jan.nijtmans tags: trunk, main | |
Changes
Modified tests/thread.test
from [9fd4037e64]
to [1a5220863c].
[diff]
Modified unix/tclSelectNotfy.c
from [923633c108]
to [373263553c].
[diff]
Modified unix/tclUnixThrd.c
from [ece8f2904f]
to [4946ccc0a0].
[diff]