ocf/env/posix
Robert Baldyga 9b9b965b55 Add cache locking functions in trylock variant
- Add cache trylock and read trylock functions.
- Introduce new error code -OCF_ERR_NO_LOCK.
- Change trylock functions in env to return this code in case of
  lock contention.

[ENV CHANGES REQUIRED]
Following functions should return 0 on success or -OCF_ERR_NO_LOCK
in case of lock contention:
- env_mutex_trylock()
- env_rwsem_up_read_trylock()
- env_rwsem_up_write_trylock()

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2019-03-01 17:31:32 +01:00
..
ocf_env_headers.h Introduce default POSIX environment 2019-01-10 13:53:44 +01:00
ocf_env_list.h Introduce default POSIX environment 2019-01-10 13:53:44 +01:00
ocf_env.c Introduce default POSIX environment 2019-01-10 13:53:44 +01:00
ocf_env.h Add cache locking functions in trylock variant 2019-03-01 17:31:32 +01:00