diff options
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 |
