thread unwind
Ends the wait of the calling thread.
thread::unwind
Description
The command thread::unwind is thread::release for the calling thread: at the count 0 the thread::wait of the thread returns. In the main thread it has no effect.
Returns
An empty string.
Examples
% set t [thread::create -joinable]
> thread::send $t thread::unwind
> thread::join $t
0
% thread::unwind
Errors
% thread::unwind x
wrong # args: should be "thread::unwind"
-errorcode TCL WRONGARGS
Facts
- Capability
thread. A new interpreter does not have it until the host turns it on.- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztcl 1.0.0-beta.1