summaryrefslogtreecommitdiff
path: root/src/wg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wg.c')
-rw-r--r--src/wg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wg.c b/src/wg.c
index 4e673b4..3da62ce 100644
--- a/src/wg.c
+++ b/src/wg.c
@@ -28,6 +28,7 @@
static
void *wg_gc(void *wg_anon) {
+ pthread_setname_np(pthread_self(), "wg_gc");
struct wg *wg = wg_anon;
pthread_t thread;