Is there any way, either in POSIX or in FreeBSD, to check if a given pthread_mutex_t is owned by the current thread? DES -- Dag-Erling Smørgrav - des at des.no