diff options
author | dgp <dgp@users.sourceforge.net> | 2013-01-30 22:40:06 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2013-01-30 22:40:06 (GMT) |
commit | b9069b95777194a604f7095cc3169589e9d37445 (patch) | |
tree | 6c1e9a353502f09c37ad47bc332fedc5a3af6426 /tests/thread.test | |
parent | c241c33749f3270f72c6df47db9e28acc7eddf4b (diff) | |
download | tcl-b9069b95777194a604f7095cc3169589e9d37445.zip tcl-b9069b95777194a604f7095cc3169589e9d37445.tar.gz tcl-b9069b95777194a604f7095cc3169589e9d37445.tar.bz2 |
Remove old vars and tests, now unused, one that collides with tcltest.
Diffstat (limited to 'tests/thread.test')
-rw-r--r-- | tests/thread.test | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/thread.test b/tests/thread.test index d79f693..f32ef61 100644 --- a/tests/thread.test +++ b/tests/thread.test @@ -84,28 +84,6 @@ if {[testConstraint testthread]} { } testthread errorproc ThreadError - - set mainThread [testthread id] - - proc ThreadNullError {id info} { - # ignore - } - - proc threadReap {} { - testthread errorproc ThreadNullError - while {[llength [testthread names]] > 1} { - foreach tid [testthread names] { - if {$tid != [testthread id]} { - catch { - testthread send -async $tid {testthread exit} - } - } - } - after 1 - } - testthread errorproc ThreadError - return [llength [testthread names]] - } } # Some tests require manual draining of the event queue |