[glib] gthread.h: remove some bogus decl/comments
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gthread.h: remove some bogus decl/comments
- Date: Wed, 21 Sep 2011 20:21:38 +0000 (UTC)
commit d7aeae97effab17a0562023497ed8baf46dcc09a
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]