Re: D timer

2013-02-27 Thread David
Am 26.02.2013 14:19, schrieb bearophile: > David: > >> Not sure what you mean, but I have a pretty solid Timer implementation >> (Threaded) >> >> https://github.com/Dav1dde/BraLa/blob/master/brala/utils/thread.d >> >> The file has no dependencies, so copy it over and have fun. License of >> the wh

Re: D timer

2013-02-26 Thread bearophile
David: Not sure what you mean, but I have a pretty solid Timer implementation (Threaded) https://github.com/Dav1dde/BraLa/blob/master/brala/utils/thread.d The file has no dependencies, so copy it over and have fun. License of the whole application is GPLv3, but if you need it relicensed dro

Re: D timer

2013-02-26 Thread heromyth
On Sunday, 10 February 2013 at 14:49:15 UTC, SaltySugar wrote: Can i do my own timer in D console application? like in C# timer_Tick event. I have also created one. Please, see here: https://bitbucket.org/heromyth/dtoolkit/src/a8b5f8874e3d82373b71a2ca5c9f02a73362b56a/toolkit/System/Timer.d?at=

Re: D timer

2013-02-10 Thread David
Am 10.02.2013 15:49, schrieb SaltySugar: > Can i do my own timer in D console application? > like in C# timer_Tick event. Not sure what you mean, but I have a pretty solid Timer implementation (Threaded) https://github.com/Dav1dde/BraLa/blob/master/brala/utils/thread.d The file has no dependenci

Re: D timer

2013-02-10 Thread rumbu
On Sunday, 10 February 2013 at 14:49:15 UTC, SaltySugar wrote: Can i do my own timer in D console application? like in C# timer_Tick event. There is no Timer in D as you know it from C# and also there are no events. You must rely on SetTimer WinAPI and write your own TimerProc.