fix some cut and paste errors left over from the pthread ancestry. RHAPSODY_NSPR_BRANCH
authortoshok
Tue, 05 May 1998 12:15:22 +0000
branchRHAPSODY_NSPR_BRANCH
changeset 87 e5d8e228958ccef054d331d73642d1a6a9295c19
parent 86 bef6897e5413613522f0bef600844f7563b91933
child 88 6a0906eecc8aad9c05eb4705aade5b11b0a0f809
push idunknown
push userunknown
push dateunknown
fix some cut and paste errors left over from the pthread ancestry.
pr/src/cthreads/ctsynch.c
--- a/pr/src/cthreads/ctsynch.c
+++ b/pr/src/cthreads/ctsynch.c
@@ -12,18 +12,18 @@
  *
  * The Initial Developer of this code under the NPL is Netscape
  * Communications Corporation.  Portions created by Netscape are
  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  * Reserved.
  */
 
 /*
-** File:            ptsynch.c
-** Descritpion:        Implemenation for thread synchronization using pthreads
+** File:            ctsynch.c
+** Descritpion:        Implemenation for thread synchronization using cthreads
 ** Exports:            prlock.h, prcvar.h, prmon.h, prcmon.h
 */
 
 #if defined(_PR_CTHREADS)
 
 #include "primpl.h"
 #include "obsolete/prsem.h"
 
@@ -179,17 +179,17 @@ static PRStatus ct_TimedWait(
     struct timeval now;
     struct timespec tmo;
     PRUint32 ticks = PR_TicksPerSecond();
 
     tmo.tv_sec = timeout / ticks;
     tmo.tv_nsec = timeout - (tmo.tv_sec * ticks);
     tmo.tv_nsec = PR_IntervalToMicroseconds(CT_NANOPERMICRO * tmo.tv_nsec);
 
-    /* pthreads wants this in absolute time, off we go ... */
+    /* cthreads wants this in absolute time, off we go ... */
 #if defined(SOLARIS) && defined(_SVID_GETTOD)
     (void)gettimeofday(&now);
 #else
     (void)gettimeofday(&now, NULL);
 #endif
     /* that one's usecs, this one's nsecs - grrrr! */
     tmo.tv_sec += now.tv_sec;
     tmo.tv_nsec += (CT_NANOPERMICRO * now.tv_usec);