ocf/env
Michal Mielewczyk ca9d8072df posix env: assert in rwsem unlock
Instead of ignoring `pthread_rwlock_unlock()` return value assert that is must
succeed.

The function returns an error eg. when there is an attempt to unlock the
resource from a different thread than it was originally locked which is illegal
in userspace.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-09-23 07:09:41 +02:00
..
posix posix env: assert in rwsem unlock 2022-09-23 07:09:41 +02:00