Hello,
I want to create a parallel object oriented system in QNX using c++ and threads. How do I do this?
I tried:
pthread_t our_thread_id;
pthread_create(&our_thread_id, NULL, &functionA ,NULL);
with function A being a pointer to a function:
void *functionA()
{ //do something
}
However this function only works in C and not C++. How can I make it work in C++?