Re: Cannot start Spyce 2.1-2 web server

"Jonathan Ellis" <[email protected]> Fri, 01 Sep 2006 11:34:58 -0700
Newsgroups gmane.comp.python.spyce.general
Message-ID <[email protected]>
On Sat, 02 Sep 2006 01:47:12 +0800, "Andy Sy" <[email protected]> said:
> The ff. worked:
> 
>  >>> from threading import Thread
>  >>> Thread(target=lambda: 1).start()
>  >>>
> 
> no error message...

well, it's clear from the stacktrace that it's a problem with the stdlib
threading module, so I'm not sure what advice to give here.

you could try starting multiple threads...

from threading import Thread
from time import sleep
def foo():
  sleep(10)
for i in range(10):
  Thread(target=foo).start()

-J
-- 
C++ is history repeated as tragedy. Java is history repeated as farce.  --Scott McKay


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642