diff options
| author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2011-01-29 14:53:21 -0500 |
|---|---|---|
| committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2011-02-03 17:40:16 -0500 |
| commit | c4128b99e1206d03d15c5d2e1b6af164bf261c40 (patch) | |
| tree | 80e092481285313e1f284bd03d1a0a03ea1f28a0 /include | |
| parent | 86b445e39c3c7eed076b01795b17f34481517288 (diff) | |
switch to generic locking system calls
The new generic lock layer in LITMUS^RT does away with per-protocol
system calls. Change accordingly.
Diffstat (limited to 'include')
| -rw-r--r-- | include/litmus.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/include/litmus.h b/include/litmus.h index 3b762db..52435d8 100644 --- a/include/litmus.h +++ b/include/litmus.h | |||
| @@ -60,13 +60,9 @@ static inline int od_open(int fd, obj_type_t type, int obj_id) | |||
| 60 | return od_openx(fd, type, obj_id, 0); | 60 | return od_openx(fd, type, obj_id, 0); |
| 61 | } | 61 | } |
| 62 | 62 | ||
| 63 | /* FMLP binary semaphore support */ | 63 | /* real-time locking protocol support */ |
| 64 | int fmlp_down(int od); | 64 | int litmus_lock(int od); |
| 65 | int fmlp_up(int od); | 65 | int litmus_unlock(int od); |
| 66 | |||
| 67 | /* SRP binary semaphore support */ | ||
| 68 | int srp_down(int od); | ||
| 69 | int srp_up(int od); | ||
| 70 | 66 | ||
| 71 | /* job control*/ | 67 | /* job control*/ |
| 72 | int get_job_no(unsigned int* job_no); | 68 | int get_job_no(unsigned int* job_no); |
