Subj : Re: How to pass class-member function to pthread_create(....)? To : comp.programming.threads From : Vyacheslav Kononenko Date : Tue Jul 19 2005 07:42 am David Schwartz wrote: > "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 Another question, sorry. Does POSIX says that C++ must use C library and not to have its own implementation? Regards, Vyacheslav .