Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section

@@ -19,10 +19,12 @@
  * CDDL HEADER END
  */
 /*
  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
+ *
+ * Copyright (c) 2018, Joyent, Inc.
  */
 
 #ifndef _THREAD_H
 #define _THREAD_H
 

@@ -56,10 +58,12 @@
 
 void thread_state_to_text(uint_t, char *, size_t);
 int thread_text_to_state(const char *, uint_t *);
 void thread_walk_states(void (*)(uint_t, const char *, void *), void *);
 
+int thread_getdesc(uintptr_t, boolean_t, char *, size_t);
+
 #ifdef  __cplusplus
 }
 #endif
 
 #endif  /* _THREAD_H */