Subj : Re: How to pass class-member function to pthread_create(....)? To : comp.programming.threads From : David Schwartz Date : Mon Jul 18 2005 01:07 pm "Vyacheslav Kononenko" wrote in message news:1121696862.131421.324160@g14g2000cwa.googlegroups.com... > 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. What do you think extern "C" does if not allow you to create and call functions with C linkage? DS .