Loading...
threads/mig_support.c Libc-498 Libc-262.3.2
--- Libc/Libc-498/threads/mig_support.c
+++ Libc/Libc-262.3.2/threads/mig_support.c
@@ -2,6 +2,8 @@
  * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
+ * 
+ * Copyright (c) 1999-2003 Apple Computer, Inc.  All Rights Reserved.
  * 
  * This file contains Original Code and/or Modifications of Original Code
  * as defined in and that are subject to the Apple Public Source License
@@ -81,11 +83,11 @@
         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) {
@@ -97,7 +99,7 @@
 	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) {
@@ -105,7 +107,7 @@
         }
 #ifdef	CTHREADS_DEBUG
 	cthread_debug = d;
-#endif	/* CTHREADS_DEBUG */
+#endif	CTHREADS_DEBUG
 	return self->reply_port;
 }
 
@@ -122,11 +124,11 @@
 	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;
@@ -143,7 +145,7 @@
 	if (self == NO_CPROC) {
 #ifdef	CTHREADS_DEBUG
 		cthread_debug = d;
-#endif	/* CTHREADS_DEBUG */
+#endif	CTHREADS_DEBUG
 		return;
 	}
 	ASSERT(self != NO_CPROC);
@@ -157,7 +159,7 @@
 	}
 #ifdef	CTHREADS_DEBUG
 	cthread_debug = d;
-#endif	/* CTHREADS_DEBUG */
+#endif	CTHREADS_DEBUG
 }
 
 /*************************************************************