diff options
Diffstat (limited to 'pfinet/sched.c')
-rw-r--r-- | pfinet/sched.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pfinet/sched.c b/pfinet/sched.c index af03ab49..5a3dd3ed 100644 --- a/pfinet/sched.c +++ b/pfinet/sched.c @@ -19,6 +19,7 @@ #include "pfinet.h" +#include <pthread.h> #include <asm/system.h> #include <linux/sched.h> #include <linux/interrupt.h> @@ -59,6 +60,8 @@ sock_wake_async (struct socket *sock, int how) void * net_bh_worker (void *arg) { + pthread_setname_np (pthread_self (), "net_bh"); + pthread_mutex_lock (&net_bh_lock); while (1) { |