From b267fa2867fd98d2f8864fd82efc8ad4b2276f39 Mon Sep 17 00:00:00 2001 From: Jason King Date: Fri, 5 May 2017 22:58:26 +0000 Subject: OS-7200 would like thread name API OS-7205 bhyve makefile uses wrong linker flags Reviewed by: Robert Mustacchi Reviewed by: Jason King Reviewed by: Patrick Mooney Approved by: Patrick Mooney --- usr/src/uts/common/sys/thread.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr/src/uts/common/sys/thread.h') diff --git a/usr/src/uts/common/sys/thread.h b/usr/src/uts/common/sys/thread.h index 678d356564..6cc474f864 100644 --- a/usr/src/uts/common/sys/thread.h +++ b/usr/src/uts/common/sys/thread.h @@ -607,7 +607,8 @@ extern disp_lock_t stop_lock; /* lock protecting stopped threads */ caddr_t thread_stk_init(caddr_t); /* init thread stack */ -void thread_setname(kthread_t *, const char *); +int thread_setname(kthread_t *, const char *); +int thread_vsetname(kthread_t *, const char *, ...); extern int default_binding_mode; extern int default_stksize; -- cgit v1.2.3