I decided to go off onto a wild coding tangent today. I whipped up a task scheduling system where you pass it function pointers and it runs them after a desired time/at specific intervals. They're run by passing them to a thread pool, which I also implemented. Again, the whole thing is (almost) API independant. You can easily swap out the components for threads, mutexes, etc by changing template parameters. Right now I've got them all implemented with the win32 API, but I might bring myself to write a set of SDL classes too for all you non-Windows people out there (LOL
Right now the system assumes that there are no dependancies between the threads; ie, its not quite thread-safe yet. I plan to put in a way to mark one task as a dependancy of another, so that the scheduler can guarentee one will be finished before the other each pass.
So yeah... didn't get any work done on anything today. Again >_<