aboutsummaryrefslogtreecommitdiffstats
path: root/include/internal.h
diff options
context:
space:
mode:
authorBjoern Brandenburg <bbb@mpi-sws.org>2012-08-14 14:29:17 -0400
committerBjoern Brandenburg <bbb@mpi-sws.org>2012-08-14 14:46:16 -0400
commitf215a05c0ea23c7779b1a3a4361b4d88ddc73dc1 (patch)
tree8d105f8894c1a3f52ae88561faa6e866218fcf10 /include/internal.h
parenta72371ea7d7b13bf0126b4636a7cba9e03ea12b8 (diff)
Implement get_nr_ts_release_waiters() /proc wrapper
Add a wrapper for /proc/litmus/stats to make it easy to query the number of tasks already waiting for a task set release.
Diffstat (limited to 'include/internal.h')
-rw-r--r--include/internal.h3
1 files changed, 3 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 */
30ssize_t read_file(const char* fname, void* buf, size_t maxlen);
31
29#endif 32#endif
30 33