Docs: Changed can not to cannot.
[platform/upstream/glib.git] / glib / gthread.c
index 33d4363..ab146d5 100644 (file)
 #include "gtestutils.h"
 #include "gtimer.h"
 
-#include "galias.h"
 
 /**
- * SECTION: threads
+ * SECTION:threads
  * @title: Threads
  * @short_description: thread abstraction; including threads, different
  *                     mutexes, conditions and thread private data
@@ -444,7 +443,7 @@ GThreadFunctions g_thread_functions_for_glib_use = {
  * #GStaticMutex provides a simpler and safer way of doing this.
  *
  * If you want to use a mutex, and your code should also work without
- * calling g_thread_init() first, then you can not use a #GMutex, as
+ * calling g_thread_init() first, then you cannot use a #GMutex, as
  * g_mutex_new() requires that the thread system be initialized. Use a
  * #GStaticMutex instead.
  *
@@ -737,7 +736,7 @@ GThreadFunctions g_thread_functions_for_glib_use = {
  * <note><para>@destructor is used quite differently from @notify in
  * g_static_private_set().</para></note>
  *
- * <note><para>A #GPrivate can not be freed. Reuse it instead, if you
+ * <note><para>A #GPrivate cannot be freed. Reuse it instead, if you
  * can, to avoid shortage, or use #GStaticPrivate.</para></note>
  *
  * <note><para>This function will abort if g_thread_init() has not been
@@ -1243,7 +1242,7 @@ g_static_mutex_init (GStaticMutex *mutex)
  * a GMutex.  In that case, the first access we make to the static mutex
  * must first allocate the normal GMutex and store it into the pointer.
  *
- * configure.in writes macros into glibconfig.h to determine if
+ * configure.ac writes macros into glibconfig.h to determine if
  * g_static_mutex_get_mutex() accesses the sturcture in memory directly
  * (on platforms where we are able to do that) or if it ends up here,
  * where we may have to allocate the GMutex before returning it.
@@ -1328,7 +1327,7 @@ g_static_mutex_free (GStaticMutex* mutex)
   g_return_if_fail (mutex);
 
   /* The runtime_mutex is the first (or only) member of GStaticMutex,
-   * see both versions (of glibconfig.h) in configure.in. Note, that
+   * see both versions (of glibconfig.h) in configure.ac. Note, that
    * this variable is NULL, if g_thread_init() hasn't been called or
    * if we're using the default thread implementation and it provides
    * static mutexes. */
@@ -2537,7 +2536,3 @@ g_thread_get_initialized ()
 {
   return g_thread_supported ();
 }
-
-#define __G_THREAD_C__
-#include "galiasdef.c"
-