------------------------------------------------------------
revno: 1724
committer: Václav Šmilauer <vac...@flux>
branch nick: trunk
timestamp: Sat 2009-08-22 22:04:23 +0200
message:
  (now?)
modified:
  py/yadeWrapper/yadeWrapper.cpp


--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to 
https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription.
=== modified file 'py/yadeWrapper/yadeWrapper.cpp'
--- py/yadeWrapper/yadeWrapper.cpp	2009-08-22 19:59:56 +0000
+++ py/yadeWrapper/yadeWrapper.cpp	2009-08-22 20:04:23 +0000
@@ -151,7 +151,7 @@
 
 		*/
 		#if BOOST_VERSION<103500
-			boost::mutex::scoped_lock lock(Omega::instance().renderMutex,true); // acquire lock on the mutex (true)
+			boost::try_mutex::scoped_try_lock lock(Omega::instance().renderMutex,true); // acquire lock on the mutex (true)
 		#else
 			boost::mutex::scoped_lock lock(Omega::instance().renderMutex);
 		#endif

_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to