Hi
I am using webkit and my application supposed to launch 5 threads and
wait until all 5 will be finished. But when i run the code first it
hangs the Application server and then, even I can not stop or restart
the application server.
What is the proper way of using multi threaded application within WebKit.
for example:
# define a class that subclasses Thread
class showTime(threading.Thread):
# define instance constructor
def __init__(self,interval,id):
self.w = interval
self.id = id
threading.Thread.__init__(self) # we are required to this
# define run method (body of the thread)
def run(self):
time.sleep(self.w)
print "thread", self.id, "done at", time.ctime(time.time())
how do i start the threads so that it can finish successfully and i
can shutdown my server and can restart it.
Its my first time to use threads with WebKit.
Thankz in advance....
Best Regards....
Salman Toor.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Webware-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/webware-discuss