pthread_t pself;
#ifdef CTHREADS_DEBUG
int d = cthread_debug;
-#endif CTHREADS_DEBUG
+#endif /* CTHREADS_DEBUG */
#ifdef CTHREADS_DEBUG
cthread_debug = FALSE;
-#endif CTHREADS_DEBUG
+#endif /* CTHREADS_DEBUG */
pself = pthread_self();
if ((pself != (pthread_t)NULL) && (pself->sig == _PTHREAD_SIG)) {
if (pself->reply_port == MACH_PORT_NULL) {
if (self == NO_CPROC) {
#ifdef CTHREADS_DEBUG
cthread_debug = d;
-#endif CTHREADS_DEBUG
+#endif /* CTHREADS_DEBUG */
return(_task_reply_port);
}
if (self->reply_port == MACH_PORT_NULL) {
}
#ifdef CTHREADS_DEBUG
cthread_debug = d;
-#endif CTHREADS_DEBUG
+#endif /* CTHREADS_DEBUG */
return self->reply_port;
}
register mach_port_t port;
#ifdef CTHREADS_DEBUG
int d = cthread_debug;
-#endif CTHREADS_DEBUG
+#endif /* CTHREADS_DEBUG */
#ifdef CTHREADS_DEBUG
cthread_debug = FALSE;
-#endif CTHREADS_DEBUG
+#endif /* CTHREADS_DEBUG */
pself = pthread_self();
if ((pself != (pthread_t)NULL) && (pself->sig == _PTHREAD_SIG)) {
port = pself->reply_port;
if (self == NO_CPROC) {
#ifdef CTHREADS_DEBUG
cthread_debug = d;
-#endif CTHREADS_DEBUG
+#endif /* CTHREADS_DEBUG */
return;
}
ASSERT(self != NO_CPROC);
}
#ifdef CTHREADS_DEBUG
cthread_debug = d;
-#endif CTHREADS_DEBUG
+#endif /* CTHREADS_DEBUG */
}
/*************************************************************