Wraps a void (*)(void*) function and its argument so we can invoke them in a way pthreads would expect.
Definition at line 29 of file compat_pthreads.c.