<p>Look at twisted.internet.task.LoopingCall.</p>
<p>Justin Venus</p>
<div class="gmail_quote">On Jul 9, 2012 12:53 AM, &quot;kangta123&quot; &lt;<a href="mailto:kang7213@gmail.com">kang7213@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello all:<div>   </div><div>I am newbie to use twisted. I want to send message in an Infinite loop in server, such as send a timestamp each 5s to all clients. i have tried to use like &quot;deferToThread&quot;  and &quot;callFromThread&quot;, but i am failed.if have any suggestions please tell me.</div>


<div><br></div><div>thanks.</div>
<div><br></div>
<div><br></div>
<br>_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
<br></blockquote></div>