threads in c++ using classes

rohan mitchell rohan.mitchell at
Mon Mar 11 21:15:58 EST 2002

Is it possible to to use threads (i am using SDL threads), where the
being executed is a function in a class? When i try, i get the error:
no matches converting function 'processPlayerInput' to type 'int
(*)(void *)'
candidates are: int
:NetworkServerConnection *)

I don't get these errors when using plain functions outside of a
class(c style).

Thanks in advance,

Get your free Australian email account at

More information about the linux mailing list