Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/librumpuser set threadname for correct pthread_t
details: https://anonhg.NetBSD.org/src/rev/2a667c76c13d
branches: trunk
changeset: 327924:2a667c76c13d
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Mar 21 12:07:10 2014 +0000
description:
set threadname for correct pthread_t
diffstat:
lib/librumpuser/rumpuser_pth.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 56687d0d6fb8 -r 2a667c76c13d lib/librumpuser/rumpuser_pth.c
--- a/lib/librumpuser/rumpuser_pth.c Fri Mar 21 09:19:10 2014 +0000
+++ b/lib/librumpuser/rumpuser_pth.c Fri Mar 21 12:07:10 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpuser_pth.c,v 1.36 2014/03/10 22:37:51 justin Exp $ */
+/* $NetBSD: rumpuser_pth.c,v 1.37 2014/03/21 12:07:10 pooka Exp $ */
/*
* Copyright (c) 2007-2010 Antti Kantee. All Rights Reserved.
@@ -28,7 +28,7 @@
#include "rumpuser_port.h"
#if !defined(lint)
-__RCSID("$NetBSD: rumpuser_pth.c,v 1.36 2014/03/10 22:37:51 justin Exp $");
+__RCSID("$NetBSD: rumpuser_pth.c,v 1.37 2014/03/21 12:07:10 pooka Exp $");
#endif /* !lint */
#include <sys/queue.h>
@@ -95,7 +95,7 @@
#if defined(__NetBSD__)
if (rv == 0 && thrname)
- pthread_setname_np(ptid, thrname, NULL);
+ pthread_setname_np(*ptidp, thrname, NULL);
#elif defined(__linux__)
/*
* The pthread_setname_np() call varies from one Linux distro to
@@ -103,7 +103,7 @@
*/
#if 0
if (rv == 0 && thrname)
- pthread_setname_np(ptid, thrname);
+ pthread_setname_np(*ptidp, thrname);
#endif
#endif
Home |
Main Index |
Thread Index |
Old Index