Subj : Re: How to pass class-member function to pthread_create(....)? To : comp.programming.threads From : David Schwartz Date : Tue Jul 19 2005 12:59 am "Vyacheslav Kononenko" wrote in message news:1121744377.955170.266970@g49g2000cwa.googlegroups.com... > David Schwartz wrote: >> "Vyacheslav Kononenko" wrote in message >> news:1121719814.285338.314970@f14g2000cwb.googlegroups.com... >> > Which standard provides this guarantee? >> The C++ standard provides the guarantee that extern "C" gives C >> linkage. >> The pthreads standard gives the guarantee that pthread_create takes >> functions with C linkage. > I am sorry, but I would like to see what POSIX says about C linkage in > pthread_create, not your comments on that. Can you make a quote? Check the standard yourself, it appears in many, MANY places that the standard is a C standard and that function pointers have C linkage. In at least one place, it is totally explicit about this. DS .