[Mono-osx] Porting windows specific functionality to mac

Miguel de Icaza miguel at xamarin.com
Fri Oct 5 03:08:51 UTC 2012


>
>
>
> I am using multimedia timers to execute a callback method repeatedly. Is
> there anything similar on Mac OS x and how do I use it from Mono? I am
> aware of NSTimer but it does not have the precision I am looking for.
>

What kind of precision are you looking for, and what kind of things you
need to do with this timer?

You can create Dispatch Queues that you can use to schedule your own
timers, these would be running on their own thread.   But sometimes all you
want is to piggy back on an existing queue that might be tied to
AVFoundation (for video/audio) or the UI (AppKit has something similar to
the CADisplayLink, but I cant remember what it is called).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-osx/attachments/20121004/172c9215/attachment.html>


More information about the Mono-osx mailing list