> patch is ok. I am still a bit curious to learn about that high delay > caused by getenv ().
It was a while since I dissected it, but I believe getenv takes a lock. This hurts multithreaded programs in particular. Even without a lock, getenv still needs to do a linear string search through the entire environment (because it typically fails). ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public