From: Joel VanderWerf Date: 2003-01-24T06:13:23+09:00 Subject: Re: emulating C preprocessor's #if Peter Kwangjun Suk wrote: > If you post your code, I'll be happy to look at it. It might make a great case study for Refactoring vs performance. Wow, thanks for the offer, Peter. At the moment I'm more concerned about getting the program to work correctly on several platforms than I am about elegance. (There's some difference between flock on linux and fcntl locks on solaris that cause a problem on solaris when code is both multiprocess and multithread.) I may post some code if I can isolate the problem, but now I'm veering wildly off topic. In any case, I will release an alpha version of the library soon, and would appreciate refactoring suggestions then. But correctness first...