diff options
author | John Levon <john.levon@joyent.com> | 2018-10-15 14:57:13 +0000 |
---|---|---|
committer | John Levon <john.levon@joyent.com> | 2018-10-15 14:57:13 +0000 |
commit | f5733417953d12d5f4b44353b59c3b14f13696c2 (patch) | |
tree | 3e8c4bc1ee61164386f7dfc70c4b8b760731d843 /usr/src/head/thread.h | |
parent | 8bd1e5ed2443eb501ddfba4147e769b6d0074ef3 (diff) | |
parent | f35f236324c07bf560ad6481307ea93b1261d636 (diff) | |
download | illumos-joyent-gcc-update.tar.gz |
Merge remote-tracking branch 'ctf/OS-7275' into gcc-updategcc-update
Diffstat (limited to 'usr/src/head/thread.h')
-rw-r--r-- | usr/src/head/thread.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/src/head/thread.h b/usr/src/head/thread.h index d0b0b3ddeb..704174d411 100644 --- a/usr/src/head/thread.h +++ b/usr/src/head/thread.h @@ -24,6 +24,8 @@ * * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. + * + * Copyright 2018 Joyent, Inc. */ #ifndef _THREAD_H @@ -87,6 +89,8 @@ extern int thr_keycreate_once(thread_key_t *, void(*)(void *)); extern int thr_setspecific(thread_key_t, void *); extern int thr_getspecific(thread_key_t, void **); extern size_t thr_min_stack(void); +extern int thr_getname(thread_t, char *, size_t); +extern int thr_setname(thread_t, const char *); #endif /* _ASM */ |