Thanks but it seems way more complex then I need, I tried writing my own but I get an acces violation error. here is my try : <a href="http://dl.dropbox.com/u/15024434/Timer.d">http://dl.dropbox.com/u/15024434/Timer.d</a> . Can someone spot the error? keep in mind I don't really understand the threading model and pointers.<br>
<br><div><br><div><div><div class="gmail_quote">2011/7/19 Piotr Szturmaj <span dir="ltr"><<a href="mailto:bncrbme@jadamspam.pl">bncrbme@jadamspam.pl</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">maarten van damme wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi everyone,<br>
for getting to know d a little bit I'm writing a simple pingpong game<br>
using gtk.<br>
for it to work I need to be able to do something every 0.1 seconds so I<br>
was wondering if there was some kind of timer in the phobos library.<br>
I've looked everywhere but couldn't find one. Is it missing and do i<br>
have to write my own or have I overlooked it?<br>
<br>
maarten<br>
</blockquote>
<br></div></div>
There is no callback timer in Phobos. But here's my implementation of timer wheel I used in one of my projects: <a href="http://pastebin.com/dRRZtPVW" target="_blank">http://pastebin.com/dRRZtPVW</a>. Feel free to use it if you want.<br>

</blockquote></div><br></div></div></div>