[glib/wip/mutexes] gthread.h: remove some bogus decl/comments



commit 1458d53ec948d8df36d47a91a449a4de35c0e94d
Author: Ryan Lortie <desrt desrt ca>
Date:   Mon Sep 19 13:58:36 2011 -0400

    gthread.h: remove some bogus decl/comments
    
    These are no longer relevent since the possibility of a thread-disabled
    GLib disappeared.

 glib/gthread.h |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/glib/gthread.h b/glib/gthread.h
index cdbaf50..b2db18a 100644
--- a/glib/gthread.h
+++ b/glib/gthread.h
@@ -250,16 +250,6 @@ g_once_init_enter (volatile gsize *value_location)
 }
 #endif /* G_CAN_INLINE || __G_THREAD_C__ */
 
-/* these are some convenience macros that expand to nothing if GLib
- * was configured with --disable-threads. for using StaticMutexes,
- * you define them with G_LOCK_DEFINE_STATIC (name) or G_LOCK_DEFINE (name)
- * if you need to export the mutex. With G_LOCK_EXTERN (name) you can
- * declare such an globally defined lock. name is a unique identifier
- * for the protected varibale or code portion. locking, testing and
- * unlocking of such mutexes can be done with G_LOCK(), G_UNLOCK() and
- * G_TRYLOCK() respectively.
- */
-extern void glib_dummy_decl (void);
 #define G_LOCK_NAME(name)               g__ ## name ## _lock
 #define G_LOCK_DEFINE_STATIC(name)    static G_LOCK_DEFINE (name)
 #define G_LOCK_DEFINE(name)           \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]