ocf/env/posix
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
..
ocf_env_headers.h Fix license 2021-10-28 13:08:50 +02:00
ocf_env_list.h Fix license 2021-10-28 13:08:50 +02:00
ocf_env.c License change to be approved by contributors 2021-10-27 12:48:20 +02:00
ocf_env.h posix env: assert in rwsem unlock 2022-09-23 07:09:41 +02:00
utils_mpool.c Fix license 2021-10-28 13:08:50 +02:00
utils_mpool.h Fix license 2021-10-28 13:08:50 +02:00