wok view dbus-c++/stuff/dbus-c++-0.9.0-disable-threading.patch @ rev 25843

Update some urls
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 21 09:04:33 2025 +0000 (5 weeks ago)
parents
children
line source
1 --- libdbus-c++-0.9.0/include/dbus-c++/dispatcher.h.threading 2017-02-15 13:40:53.796004263 +0000
2 +++ libdbus-c++-0.9.0/include/dbus-c++/dispatcher.h 2017-02-15 13:40:46.907000493 +0000
3 @@ -188,6 +188,7 @@
4 /* classes for multithreading support
5 */
7 +#if 0
8 class DXXAPI Mutex
9 {
10 public:
11 @@ -243,9 +244,11 @@
12 typedef bool (*CondVarWaitTimeoutFn)(CondVar *cv, Mutex *mx, int timeout);
13 typedef void (*CondVarWakeOneFn)(CondVar *cv);
14 typedef void (*CondVarWakeAllFn)(CondVar *cv);
15 +#endif
17 void DXXAPI _init_threading();
19 +#if 0
20 void DXXAPI _init_threading(
21 MutexNewFn, MutexFreeFn, MutexLockFn, MutexUnlockFn,
22 CondVarNewFn, CondVarFreeFn, CondVarWaitFn, CondVarWaitTimeoutFn, CondVarWakeOneFn, CondVarWakeAllFn
23 @@ -312,6 +315,7 @@
24 cv->wake_all();
25 }
26 };
27 +#endif
29 } /* namespace DBus */
31 --- libdbus-c++-0.9.0/src/dispatcher.cpp.threading 2017-02-15 13:48:22.627249868 +0000
32 +++ libdbus-c++-0.9.0/src/dispatcher.cpp 2017-02-15 13:48:29.164253445 +0000
33 @@ -253,6 +253,7 @@
34 #endif//DBUS_HAS_THREADS_INIT_DEFAULT
35 }
37 +#if 0
38 void DBus::_init_threading(
39 MutexNewFn m1,
40 MutexFreeFn m2,
41 @@ -318,3 +319,4 @@
42 #endif//DBUS_HAS_RECURSIVE_MUTEX
43 dbus_threads_init(&functions);
44 }
45 +#endif