Artifacts Associated With Ticket 3407860fffffffffffffffffffffffffffffffff
Ticket change [a1532f4b52] (rid 109694) by dgp on 2011-09-11 20:50:07:
- assignee initialized to: "vasiljevic"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Perhaps there's no value fixing a command that's marked deprecated, but... [thread::exit] is documented to take no arguments, but that's not checked. Any number of arguments are accepted and ignored without error. It would seem to be more valuable, both in utility and in parallel behavior with [::exit] for the command [thread::exit] to accept one optional argument, an integer "exit code" for the thread. Without such an argument [thread::exit] always declares the thread exit code to be 666, and [thread::join] returns that value as documented, when it is used. But what value is that? Returning a value that never changes?
- foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "80. Thread Package"
- title initialized to: "thread::exit flaws"
- type initialized to: "Bug"
Ticket change [0d92d01cd9] (rid 114388) by mistachkin on 2011-11-21 14:19:37:
- icomment:
After careful review of the thread package code, I agree that this command should be changed in the way described by dgp.
- login: "mistachkin"
- mimetype: "text/plain"
- username: "mistachkin"
- icomment:
Ticket change [1af4433ecb] (rid 259690) by serhiy.storchaka on 2026-10-21 09:59:44:
- icomment:
Fixed in Thread 2.8.0 by [https://core.tcl-lang.org/thread/info/0839286864|0839286864]: <tt>thread::exit</tt> now accepts an optional exit status (default 666), which thread::join returns, and rejects extra arguments.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- icomment:
Ticket change [2a2e6bbecd] (rid 259988) by serhiy.storchaka on 2026-10-22 17:19:29:
- closedate changed to: "2461334.916485521"
- closer changed to: "serhiy.storchaka"
- login: "serhiy.storchaka"