diff options
author | hershey <hershey> | 1999-04-20 18:12:18 (GMT) |
---|---|---|
committer | hershey <hershey> | 1999-04-20 18:12:18 (GMT) |
commit | 1078972debd4f992f68ecb132cb08616037048cd (patch) | |
tree | f5e45ddab0d5fdc67a74211c7040229c6827a4ae /tests/README | |
parent | d81cb57b05280ff7ad32f29f973b028856e3cd24 (diff) | |
download | tcl-1078972debd4f992f68ecb132cb08616037048cd.zip tcl-1078972debd4f992f68ecb132cb08616037048cd.tar.gz tcl-1078972debd4f992f68ecb132cb08616037048cd.tar.bz2 |
moved the ThreadReap command to ::tcltest::threadReap. Now each thread test calls
threadReap at the beginning and end of the test, inside the test body. This fixes
the problem where the test suite was exiting on a call to threadReap (reap was
killing the main thread by accident because other tests were leaving threads
running and setting mainthread to be the list of running threads).
Diffstat (limited to 'tests/README')
-rw-r--r-- | tests/README | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/README b/tests/README index fe4bb30..3b22393 100644 --- a/tests/README +++ b/tests/README @@ -1,6 +1,6 @@ README -- Tcl test suite design document. -RCS: @(#) $Id: README,v 1.3 1999/04/16 00:47:22 stanton Exp $ +RCS: @(#) $Id: README,v 1.4 1999/04/20 18:12:18 hershey Exp $ Contents: --------- @@ -117,6 +117,8 @@ namespace and automatically imported: restoreState Restore the procedure and global variable names. + threadReap Kill all threads except for the main thread. + Please refer to the defs.tcl file for more documentation on these procedures. |