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