aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBjoern Brandenburg <bbb@mpi-sws.org>2013-01-11 04:17:10 -0500
committerBjoern Brandenburg <bbb@mpi-sws.org>2013-01-11 04:24:18 -0500
commit642049ba7d30b24fb9927a22d44d6b84139668dc (patch)
treeeaa73b8f77c949b1a56ab0271bda5be7b3746725 /include
parentd427bf8561f488bfec36b14b02af5b8ca0b2782f (diff)
Make release_ts a bit more userfriendly
The -f option required manually *also* setting the -w option. This is no longer required. While at it, simplify the code by using the /proc interface.
Diffstat (limited to 'include')
-rw-r--r--include/litmus.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/litmus.h b/include/litmus.h
index 677f9a9..3777088 100644
--- a/include/litmus.h
+++ b/include/litmus.h
@@ -121,6 +121,7 @@ int requested_to_preempt(void);
121int wait_for_ts_release(void); 121int wait_for_ts_release(void);
122int release_ts(lt_t *delay); 122int release_ts(lt_t *delay);
123int get_nr_ts_release_waiters(void); 123int get_nr_ts_release_waiters(void);
124int read_litmus_stats(int *ready, int *total);
124 125
125#define __NS_PER_MS 1000000 126#define __NS_PER_MS 1000000
126 127