[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r11757: Don't use boost condition va
From: |
Rob Savoye |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r11757: Don't use boost condition variables on windows. Only used by Cygnal currently. |
Date: |
Thu, 14 Jan 2010 19:12:11 -0700 |
User-agent: |
Bazaar (2.0.2) |
------------------------------------------------------------
revno: 11757
committer: Rob Savoye <address@hidden>
branch nick: trunk
timestamp: Thu 2010-01-14 19:12:11 -0700
message:
Don't use boost condition variables on windows. Only used by Cygnal currently.
modified:
libnet/cque.cpp
=== modified file 'libnet/cque.cpp'
--- a/libnet/cque.cpp 2010-01-01 17:48:26 +0000
+++ b/libnet/cque.cpp 2010-01-15 02:12:11 +0000
@@ -69,7 +69,10 @@
{
// GNASH_REPORT_FUNCTION;
boost::mutex::scoped_lock lk(_cond_mutex);
+#ifndef _WIN32
_cond.wait(lk);
+ log_unimpl("CQue::wait(win32)");
+#endif
// log_debug("wait mutex released for \"%s\"", _name);
}
@@ -78,7 +81,10 @@
CQue::notify()
{
// GNASH_REPORT_FUNCTION;
+#ifndef _WIN32
_cond.notify_one();
+ log_unimpl("CQue::notify(win32)");
+#endif
// log_debug("wait mutex triggered for \"%s\"", _name);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r11757: Don't use boost condition variables on windows. Only used by Cygnal currently.,
Rob Savoye <=