> Thanks for noticing and sending a patch against this issue. Can > someone confirm if getpid() is available in Windows? I was using the same kind of code, and someone sent me a patch for Windows MSVC to include <process.h>, in which getpid is declared, so yes, it is available there.