aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus.h
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2011-01-29 14:53:21 -0500
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2011-02-03 17:40:16 -0500
commitc4128b99e1206d03d15c5d2e1b6af164bf261c40 (patch)
tree80e092481285313e1f284bd03d1a0a03ea1f28a0 /include/litmus.h
parent86b445e39c3c7eed076b01795b17f34481517288 (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/litmus.h')
-rw-r--r--include/litmus.h10
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 */
64int fmlp_down(int od); 64int litmus_lock(int od);
65int fmlp_up(int od); 65int litmus_unlock(int od);
66
67/* SRP binary semaphore support */
68int srp_down(int od);
69int srp_up(int od);
70 66
71/* job control*/ 67/* job control*/
72int get_job_no(unsigned int* job_no); 68int get_job_no(unsigned int* job_no);