summaryrefslogtreecommitdiffstats
path: root/src/Utils.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-06-17 14:24:56 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-06-17 14:24:56 +0200
commit5950cd21ae4ad1b9ddc98a6f1c8716e1627ebbd2 (patch)
tree617d2af1c25f71fb3511639430a20848c9d8dace /src/Utils.h
parente48df9cb5ec9e48cd836ec227127f42c5cc99aa1 (diff)
downloaddabmod-5950cd21ae4ad1b9ddc98a6f1c8716e1627ebbd2.tar.gz
dabmod-5950cd21ae4ad1b9ddc98a6f1c8716e1627ebbd2.tar.bz2
dabmod-5950cd21ae4ad1b9ddc98a6f1c8716e1627ebbd2.zip
Set custom names to threads
Diffstat (limited to 'src/Utils.h')
-rw-r--r--src/Utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Utils.h b/src/Utils.h
index 7f65fa3..46c46d5 100644
--- a/src/Utils.h
+++ b/src/Utils.h
@@ -60,5 +60,7 @@ inline long timespecdiff_us(struct timespec& oldTime, struct timespec& time)
// Set SCHED_RR with priority prio (0=lowest)
int set_realtime_prio(int prio);
+void set_thread_name(const char *name);
+
#endif