Using a class method as starting routine.

Ales Pour pour@princip.cz
Tue Jul 31 02:11:00 GMT 2001


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



More information about the Pthreads-win32 mailing list