diff options
author | ztong <ztong@cs.unc.edu> | 2021-03-01 19:30:52 -0500 |
---|---|---|
committer | ztong <ztong@cs.unc.edu> | 2021-03-01 19:30:52 -0500 |
commit | f5160dfa9d1184f5bc90b7b8bf6f99c83e66e391 (patch) | |
tree | ddd260603a5183eb93e60ccb77d231740d39d01d /include | |
parent | b084d236bb49863975667bfa2faadf0154d823b6 (diff) |
Diffstat (limited to 'include')
-rw-r--r-- | include/litmus.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/litmus.h b/include/litmus.h index 4d6a9d9..3b12516 100644 --- a/include/litmus.h +++ b/include/litmus.h | |||
@@ -247,6 +247,12 @@ int litmus_lock_cs(int od, lt_t cs_len); | |||
247 | */ | 247 | */ |
248 | int litmus_access_forbidden_zone_check(int od, lt_t fz_len, lt_t panic_len); | 248 | int litmus_access_forbidden_zone_check(int od, lt_t fz_len, lt_t panic_len); |
249 | /** | 249 | /** |
250 | * exit forbidden zone | ||
251 | * @param od Object descriptor obtained by litmus_open_lock() | ||
252 | * @return 0 iff exits successfully | ||
253 | */ | ||
254 | int litmus_exit_forbidden_zone(int od); | ||
255 | /** | ||
250 | * Release lock | 256 | * Release lock |
251 | * @param od Object descriptor obtained by litmus_open_lock() | 257 | * @param od Object descriptor obtained by litmus_open_lock() |
252 | * @return 0 iff the lock was released successfully | 258 | * @return 0 iff the lock was released successfully |