A Jucey way to delay functions calls?

Hello there!

Is there a way to call a function after a desired time? I'm looking for something like performSelector: afterDelay: in OSX/iOS.


I just kick off a Timer object when I need that.

(Of course, when enough people have got access to C++11 features, it'll be great to be able to add a lambda-based function for this)

Great, that's what I usually do myself.