Chris, Some of the pthread code is really just calling the correct function, and could easily be implemented as a macro if the appropriate headers were included in the userland programs... Is there someway to get the same result without forcing the inclusion of windows headers? Rob