threads in c++ using classes

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


Is it possible to to use threads (i am using SDL threads), where the
function
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
RealityUndefined::ServerUniverse::processPlayerInput(RealityUndefined:
:NetworkServerConnection *)

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

Thanks in advance,
Rohan


__________________________________________________________________
Get your free Australian email account at http://www.start.com.au





More information about the linux mailing list