This topic is 3359 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Hi all: I have a function
void FuncA(obj o, arg1 a1, arg2 a2);

Because I have to run the FuncA for many times for different objects, I am thinking it's probably better to run multithread so that each thread contains each object. I have just read a small tutorial in http://www.yolinux.com/TUTORIALS/LinuxTutorialPosixThreads.html However, I am still not sure how to start a thread if the arguments of FuncA is multiple. Also, the pthread_t looks quite out-of-date and it's in C although it works in C++. Could anyone give me any idea how to do this please? Thanks