summaryrefslogtreecommitdiff
path: root/games/dangerdeep/files/patch-src__condvar.h
blob: 06f52b5bea5f4a0179d256bee5d01175240f3d3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- ./src/condvar.h.orig	2007-06-11 11:16:23.000000000 -0400
+++ ./src/condvar.h	2014-08-11 09:56:15.000000000 -0400
@@ -43,13 +43,13 @@
 
 	/// wait on condition
 	///@param m - mutex to encapsulate waiting condition
-	void wait(mutex& m);
+	void wait(::mutex& m);
 
 	/// wait on condition with timeout
 	///@param m - mutex to encapsulate waiting condition
 	///@param ms - timeout value in milliseconds
 	///@return true when woken up by signal, false on timeout
-	bool timed_wait(mutex& m, unsigned ms);
+	bool timed_wait(::mutex& m, unsigned ms);
 
 	/// send signal to threads that are waiting on the condition.
 	///@note Note that before sending the signal you must make the condition false that would