|
|
Author: matt
Date: 2007-03-20 04:42:36 -0500 (Tue, 20 Mar 2007)
New Revision: 5747
Log:
Fixed missing (and empty) unlock_ring and lock_ring for Unix builds without multithreading.
Modified:
branches/branch-1.1/src/Fl_lock.cxx
Modified: branches/branch-1.1/src/Fl_lock.cxx
===================================================================
--- branches/branch-1.1/src/Fl_lock.cxx 2007-03-15 19:31:52 UTC (rev 5746)
+++ branches/branch-1.1/src/Fl_lock.cxx 2007-03-20 09:42:36 UTC (rev 5747)
@@ -75,7 +75,7 @@
int Fl::awake_ring_size_;
int Fl::awake_ring_head_;
int Fl::awake_ring_tail_;
-const int AWAKE_RING_SIZE = 1024;
+static const int AWAKE_RING_SIZE = 1024;
static void lock_ring();
static void unlock_ring();
@@ -344,7 +344,14 @@
pthread_mutex_lock(ring_mutex);
}
+#else
+void unlock_ring() {
+}
+
+void lock_ring() {
+}
+
#endif // WIN32
//
[ Direct Link to Message ] | |
|
| |