I looking for open source code in c language which schedule/deschdule a functions that will run in a new threads, so for example I can schedule the function to run every 30 minutes in new tread.
I want to use this source in my program as an infrastructure service.
I prefer using a source which will compiled on Linux and Windows platforms.

Please, any help - link