Creating a thread class using pthreads, problem in pthread_create
I have created a interface class for threads using Pthreads for Linux plateform. In the class i have kept the run function as pure virtual function so by inheriting this class fuction can be redefined by the class.
but the problem is in create function where I am calling pthread_create function, where it requires the service function used by thread. I am not very much sure How Can I do this correctly. If any Idea let me know.
Thanks and regards
Re: Creating a thread class using pthreads, problem in pthread_create
You'll have to be more specific. It is not at all clear what problem you are having.
|All times are GMT +5.5. The time now is 17:07.|