summaryrefslogtreecommitdiff
path: root/src/iou.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/iou.c')
-rw-r--r--src/iou.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/iou.c b/src/iou.c
index 2be79ca..cdfc317 100644
--- a/src/iou.c
+++ b/src/iou.c
@@ -19,6 +19,7 @@
#include <pthread.h>
#include <stdlib.h>
#include <stddef.h>
+#include <sys/prctl.h>
#include "iou.h"
@@ -148,6 +149,7 @@ static void * iou_thread(iou_thread_t *thread)
assert(thread);
assert(thread->iou);
+ prctl(PR_SET_NAME, "libiou-async");
iou = thread->iou;
for (;;) {
© All Rights Reserved