Thaddy I appreciate that, but I need to have at least Linux (With Windows being a nice addition).
Pascal, thanks for sharing, and this is a stupid question but I've never used semaphores, could you give me an example of how to use it? (Just a copy paste of some code that uses it)