This is an important feature that is missing from the current OCaml-implementation: it is currently not possible to extract the pthread_t associated with a thread (thread descriptor). This means it is impossible to implement certain POSIX-functions (e.g. pthread_getcpuclockid, etc.) operating on threads (other than the currently executing one - we can always get this one with pthread_self()) without hacking the OCaml-runtime sources.