diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/internal.h | 3 | ||||
-rw-r--r-- | include/litmus.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/internal.h b/include/internal.h index f30ce61..747f095 100644 --- a/include/internal.h +++ b/include/internal.h | |||
@@ -26,5 +26,8 @@ int __launch_rt_task(rt_fn_t rt_prog, void *rt_arg, | |||
26 | #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); })) | 26 | #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); })) |
27 | #define BUILD_BUG_ON(condition) ((void)BUILD_BUG_ON_ZERO(condition)) | 27 | #define BUILD_BUG_ON(condition) ((void)BUILD_BUG_ON_ZERO(condition)) |
28 | 28 | ||
29 | /* I/O convenience function */ | ||
30 | ssize_t read_file(const char* fname, void* buf, size_t maxlen); | ||
31 | |||
29 | #endif | 32 | #endif |
30 | 33 | ||
diff --git a/include/litmus.h b/include/litmus.h index 82e4bd1..e4b619e 100644 --- a/include/litmus.h +++ b/include/litmus.h | |||
@@ -120,6 +120,7 @@ int requested_to_preempt(void); | |||
120 | /* task system support */ | 120 | /* task system support */ |
121 | int wait_for_ts_release(void); | 121 | int wait_for_ts_release(void); |
122 | int release_ts(lt_t *delay); | 122 | int release_ts(lt_t *delay); |
123 | int get_nr_ts_release_waiters(void); | ||
123 | 124 | ||
124 | #define __NS_PER_MS 1000000 | 125 | #define __NS_PER_MS 1000000 |
125 | 126 | ||