This is the mail archive of the pthreads-win32@sources.redhat.com mailing list for the pthreas-win32 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Using a class method as starting routine.


Ye Liu wrote:
> A rather dump question: how to use a class method as a starting routine
> of pthread_create().

Most compilers will _let_ you use a STATIC method for thread starting
routine. If you are keen on portability, you will use an extern "C"
wrapper function.

Regards,
	Ales


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]