using threads in twisted
Ivan <[email protected]>
| Newsgroups | gmane.comp.python.twisted.web |
|---|---|
| Message-ID | <[email protected]> |
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
_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web