summaryrefslogtreecommitdiffstats
path: root/tests/thread.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2013-01-30 22:40:06 (GMT)
committerdgp <dgp@users.sourceforge.net>2013-01-30 22:40:06 (GMT)
commitdda76da2402a616960ec07094b574d333415366f (patch)
tree6c1e9a353502f09c37ad47bc332fedc5a3af6426 /tests/thread.test
parentcbb5fdd0687017600487fb6a2bb5938dac01b31c (diff)
downloadtcl-dda76da2402a616960ec07094b574d333415366f.zip
tcl-dda76da2402a616960ec07094b574d333415366f.tar.gz
tcl-dda76da2402a616960ec07094b574d333415366f.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.test22
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