argument of type void* in pthread_create(...)

Why is it necessary to pass argument of type (void*) while creating a thread using pthread_create(...)?
Clearly you'll need to pass some information to the thread function as it can't just use global data.

The parameter provides the means for passing information to each thread.

http://www.cplusplus.com/forum/windows/74209/#msg397472

Topic archived. No new replies allowed.