Fixed missing (and empty) unlock_ring and lock_ring for Unix builds without multithreading.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5747 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher 2007-03-20 09:42:36 +00:00
parent 3d08842222
commit cae6dd02b2

View File

@ -75,7 +75,7 @@ void **Fl::awake_data_;
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,6 +344,13 @@ void lock_ring() {
pthread_mutex_lock(ring_mutex);
}
#else
void unlock_ring() {
}
void lock_ring() {
}
#endif // WIN32