with std::mutex on modern compilers. Fixes the build with clang, and still builds with gcc
13 lines
314 B
Plaintext
13 lines
314 B
Plaintext
$OpenBSD: patch-src_message_queue_h,v 1.1 2017/04/30 08:56:45 espie Exp $
|
|
--- src/message_queue.h.orig
|
|
+++ src/message_queue.h
|
|
@@ -73,7 +73,7 @@ class message_queue
|
|
|
|
protected:
|
|
std::list<message*> myqueue;
|
|
- mutex mymutex;
|
|
+ dd::mutex mymutex;
|
|
condvar emptycondvar;
|
|
condvar ackcondvar;
|
|
bool msginqueue;
|