Re: [AOLSERVER] thread bug or my bad code?

2001-08-08 Thread Nick Kaiho
Yes, it calls itself recursivly. Am I mistaken that the [ns_thead wait] will wait until the previouly spawned threads are done before calling itself again? -Nick

Re: [AOLSERVER] thread bug or my bad code?

2001-08-08 Thread Rusty Brooks
Your code: > proc startThreadTest {} { > > startThreadTest > } startThreadTest calls itself recursively, so you'll eventually run out of stack space or reach the tcl maximum recursion level. If you'd like to avoid that you can do something like proc startThreadTest {} {

[AOLSERVER] thread bug or my bad code?

2001-08-08 Thread Nick Kaiho
Hi, If I run "startThreadTest" , the script below will continue to run until the server finally buffer overflows in "for {set i 1} {$i < 9} {incr i} . The number of times this will execute before crash seems to depend on the system. I'm running aolserver3.4 (I also checked on 3.3) on some solari