I'm working on the program cvs-fast-export (http://www.catb.org/esr/cvs-fast-export/)
It is designed with multiple different phases of code, leading serially into each other.
One phase (analyze masters) benefits greatly from multi-threading. There is an option to compile the program with thread support to take advantage of this.
However, when using the option, the other, non-threaded phases suffer.
I know that when compiled with pthreads, a number of standard functions get replaced with thread safe versions. Is there a way to indicate in code that there are sections of code that don't need this?