Windows Event Loop -> Cocoa Timers

Posts: 129
Joined: 2005.02
Post: #1
Since it seems like the perferred way of handling Cocoa event loops is through NSTimers, I am curious as to how Windows stands in this scheme. When porting games, are there many Windows games that utilize an equivelent of Cocoa's timers? Or is it usually a matter of converting the classic while(!done) style event loop to a NSTimer?

Quote this message in a reply
Posts: 5,143
Joined: 2002.04
Post: #2
Windows doesn't have an equivalent of Cocoa's timers.
Quote this message in a reply
Posts: 3
Joined: 2005.04
Post: #3
Right. I generally replace the ProcessNextMessage() loop on Windows with a Carbon timer and use Carbon events.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Cocoa fundamentals - the message loop in a dylib bumperman 5 9,102 Nov 8, 2009 11:17 AM
Last Post: OneSadCookie
  Best Porting Options - Mac (Cocoa/OpenGL) to Windows Jake 30 21,009 Dec 18, 2006 08:05 PM
Last Post: dajtxx
  suspend event notification ? quarus 2 3,287 Nov 11, 2006 12:52 PM
Last Post: quarus