HomeFreeBSD

For pthread_mutex_trylock() call on owned error-check or non-portable

Description

For pthread_mutex_trylock() call on owned error-check or non-portable
adaptive mutex, return EDEADLK as required by POSIX. The
pthread_mutex_lock() is already compliant.

Tested by: Guy Yur <guyyur@gmail.com>
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Approved by: re (gjb)

Details

Provenance
kibAuthored on
Parents
rS302193: MFC r300775:
Branches
Unknown
Tags
Unknown