summaryrefslogtreecommitdiffstats
path: root/include/pthread_np.h
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-04-11 02:50:59 +0000
committerjb <jb@FreeBSD.org>1998-04-11 02:50:59 +0000
commit715af03bcbee3dea17af9086eef13eabd9c59a05 (patch)
treedf7ac8846fefd7c16238162389c693b0aaddbb3a /include/pthread_np.h
parentfcd80f4e7b2c7c7e00d91e5196cf0cc74f4bc436 (diff)
downloadFreeBSD-src-715af03bcbee3dea17af9086eef13eabd9c59a05.zip
FreeBSD-src-715af03bcbee3dea17af9086eef13eabd9c59a05.tar.gz
Add a function prototype to set the name of a thread for debugging
purposes.
Diffstat (limited to 'include/pthread_np.h')
-rw-r--r--include/pthread_np.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/pthread_np.h b/include/pthread_np.h
index e4b5be1..ce055f3 100644
--- a/include/pthread_np.h
+++ b/include/pthread_np.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1996 John Birrell <jb@cimlogic.com.au>.
+ * Copyright (c) 1996-98 John Birrell <jb@cimlogic.com.au>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -44,6 +44,7 @@ int pthread_single_np __P((void));
int pthread_suspend_np __P((pthread_t));
int pthread_mutexattr_getkind_np __P((pthread_mutexattr_t attr));
int pthread_mutexattr_setkind_np __P((pthread_mutexattr_t *attr, int kind));
+void pthread_set_name_np __P((pthread_t, char *));
__END_DECLS
#endif
OpenPOWER on IntegriCloud