you could have something in the main loop of a program that checks if the proper amount of time has elapsed and calls the function.
alternatively you could set up a threading system where your event check is in a seperate thread from the main code and runs in parallel to it. Anything like that would be really slow.
Bookmarks