nightowl wrote:
Does anybodu know how to do it precisely
pthread_create only handles a single void* arg. If it's
that size or smaller, you can reinterpret_cast it on both
sides. If it's larger, you'll have to allocate an object
somewhere that's visible to the child thread and pass a
pointer (casting it back in the thread function).