[Twisted-web] using threads in twisted
Ivan
bdfy at mail.ru
Fri Apr 15 06:25:08 EDT 2011
for example, I want to run two tasks ( using thread ), waiting while this tasks is end and after run next several tasks
How to do this using twisted ? Any example ?
def task(n):
sleep n
1) 1,2 tasks begin ( thread )
2) waiting while all tasks is ends
3) ...
4) run 3,4,5,6,7 tasks ( thread )
5) waiting while all tasks is ends
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-web/attachments/20110415/94071620/attachment.htm
More information about the Twisted-web
mailing list