Index: mozilla/nsprpub/pr/include/private/primpl.h |
=================================================================== |
--- mozilla/nsprpub/pr/include/private/primpl.h (revision 179237) |
+++ mozilla/nsprpub/pr/include/private/primpl.h (working copy) |
@@ -977,6 +977,9 @@ |
extern void _PR_MD_SET_PRIORITY(_MDThread *md, PRThreadPriority newPri); |
#define _PR_MD_SET_PRIORITY _MD_SET_PRIORITY |
+extern void _PR_MD_SET_CURRENT_THREAD_NAME(const char *name); |
+#define _PR_MD_SET_CURRENT_THREAD_NAME _MD_SET_CURRENT_THREAD_NAME |
+ |
NSPR_API(void) _PR_MD_SUSPENDALL(void); |
#define _PR_MD_SUSPENDALL _MD_SUSPENDALL |
@@ -1533,6 +1536,7 @@ |
PRIntn errorStringLength; /* textLength from last call to PR_SetErrorText() */ |
PRInt32 errorStringSize; /* malloc()'d size of buffer | zero */ |
char *errorString; /* current error string | NULL */ |
+ char *name; /* thread's name */ |
#if defined(_PR_PTHREADS) |
pthread_t id; /* pthread identifier for the thread */ |
@@ -1822,7 +1826,6 @@ |
&& !defined(_PR_PTHREADS) && !defined(_PR_GLOBAL_THREADS_ONLY) \ |
&& !defined(PURIFY) \ |
&& !defined(DARWIN) \ |
- && !defined(NEXTSTEP) \ |
&& !defined(QNX) \ |
&& !(defined (UNIXWARE) && defined (USE_SVR4_THREADS)) |
#define _PR_OVERRIDE_MALLOC |