Fixed spelling errors in comments.
authorwtchang%redhat.com
Fri, 01 Jul 2005 21:08:34 +0000
changeset 3419 6430fbcf79aaf51f9b2b7b0ea7e6362333df2133
parent 3418 45ffe0a8386093b11d9f25e3b1e625be336da8b7
child 3420 6ca289ae6877b744572c322d51f9a7db89dbd5be
push idunknown
push userunknown
push dateunknown
Fixed spelling errors in comments.
pr/src/pthreads/ptthread.c
--- a/pr/src/pthreads/ptthread.c
+++ b/pr/src/pthreads/ptthread.c
@@ -243,21 +243,21 @@ static void *_pt_root(void *arg)
     if (NULL == thred->next)
         pt_book.last = thred->prev;
     else
         thred->next->prev = thred->prev;
     PR_Unlock(pt_book.ml);
 
     /*
     * Here we set the pthread's backpointer to the PRThread to NULL.
-    * Otherwise the desctructor would get called eagerly as the thread
+    * Otherwise the destructor would get called eagerly as the thread
     * returns to the pthread runtime. The joining thread would them be
     * the proud possessor of a dangling reference. However, this is the
     * last chance to delete the object if the thread is detached, so
-    * just let the destuctor do the work.
+    * just let the destructor do the work.
     */
     if (PR_FALSE == detached)
     {
         rv = pthread_setspecific(pt_book.key, NULL);
         PR_ASSERT(0 == rv);
     }
 
     return NULL;