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.

Topic archived. No new replies allowed.