From c113f3b5211bf6ae3ff1ee916a9f9ad0c28b7125 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 --- usr/src/lib/libfakekernel/common/sys/thread.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr/src/lib/libfakekernel/common/sys/thread.h') diff --git a/usr/src/lib/libfakekernel/common/sys/thread.h b/usr/src/lib/libfakekernel/common/sys/thread.h index 6213be2807..d6e05c691c 100644 --- a/usr/src/lib/libfakekernel/common/sys/thread.h +++ b/usr/src/lib/libfakekernel/common/sys/thread.h @@ -24,6 +24,7 @@ * Use is subject to license terms. * * Copyright 2013 Nexenta Systems, Inc. All rights reserved. + * Copyright 2018 Joyent, Inc. */ #ifndef _SYS_THREAD_H @@ -82,6 +83,7 @@ extern kthread_t *_curthread(void); /* returns thread pointer */ #define _KTHREAD_INVALID ((void *)(uintptr_t)-1) +#define THREAD_NAME_MAX (32) struct proc; extern struct proc *_curproc(void); -- cgit v1.2.3