OSDN Git Service

libunwind related patch from David Mosberger
[pf3gnuchains/gcc-fork.git] / gcc / gthr.h
index f2a5668..b051154 100644 (file)
@@ -32,7 +32,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 /* If this file is compiled with threads support, it must
        #define __GTHREADS 1
    to indicate that threads support is present.  Also it has define
-   function 
+   function
      int __gthread_active_p ()
    that returns 1 if thread system is active, 0 if not.
 
@@ -49,7 +49,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
                to initialize __gthread_mutex_t to get a fast
                non-recursive mutex.
      __GTHREAD_MUTEX_INIT_FUNCTION
-               some systems can't initalize a mutex without a
+               some systems can't initialize a mutex without a
                function call.  On such systems, define this to a
                function which looks like this:
                  void __GTHREAD_MUTEX_INIT_FUNCTION (__gthread_mutex_t *)
@@ -62,8 +62,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
      int __gthread_key_create (__gthread_key_t *keyp, void (*dtor) (void *))
      int __gthread_key_delete (__gthread_key_t key)
 
-     int __gthread_key_dtor (__gthread_key_t key, void *ptr)
-
      void *__gthread_getspecific (__gthread_key_t key)
      int __gthread_setspecific (__gthread_key_t key, const void *ptr)
 
@@ -80,7 +78,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
      Solaris/UI threads with -D_SOLARIS_THREADS
 */
 
-/* Check first for thread specific defines. */
+/* Check first for thread specific defines.  */
 #if _PTHREADS
 #include "gthr-posix.h"
 #elif _DCE_THREADS
@@ -88,7 +86,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #elif _SOLARIS_THREADS
 #include "gthr-solaris.h"
 
-/* Include GTHREAD_FILE if one is defined. */
+/* Include GTHREAD_FILE if one is defined.  */
 #elif defined(HAVE_GTHR_DEFAULT)
 #if SUPPORTS_WEAK
 #ifndef GTHREAD_USE_WEAK
@@ -97,7 +95,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 #endif
 #include "gthr-default.h"
 
-/* Fallback to single thread definitions. */
+/* Fallback to single thread definitions.  */
 #else
 #include "gthr-single.h"
 #endif