Subj : Re: How to pass class-member function to pthread_create(....)? To : comp.programming.threads From : Vyacheslav Kononenko Date : Mon Jul 18 2005 08:27 am Chris Thomasson wrote: > > It has to match signature that "pthread_create" expects so it has to be > > static method or generic function and extern "C" is not necessary. > > Unfortunately extern "C" is necessary if your interested in creating > "correct code"... The problem is using extern "C" does _NOT_ make 100% correct code either. It could be safer to do that. But could be safer is different than correct/incorrect statements showed here. I could be wrong but please provide reference in C++ standard wich says how extern "C" linkage affect calling conventions then. Getting ignorance when providing different point of view than common is this group is very nice "feature". But common and/or most people opinion is not always correct. Regards, Vyacheslav .