This might be a stupid question, but: what compile and link options are necessary nowadays for multithreaded code? I see various references to -pthread and -lpthread, but it's hard to be sure what's authoritative. regards, tom lane