* Added a wrapper for dbus_threads_init_default
* Added a wrapper for dbus_connection_set_exit_on_disconnect * Added a multithreaded test case for the echo example git-svn-id: http://dev.openwengo.org/svn/openwengo/wengophone-ng/branches/wengophone-dbus-api/libs/dbus@11874 30a43799-04e7-0310-8b2b-ea0d24f86d0e
This commit is contained in:
parent
b116f68663
commit
568ec7fc45
10 changed files with 137 additions and 5 deletions
|
@ -18,6 +18,9 @@
|
|||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
||||
/* Define to 1 if you have the <pthread.h> header file. */
|
||||
#undef HAVE_PTHREAD_H
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
|
|
|
@ -91,6 +91,8 @@ public:
|
|||
|
||||
void disconnect();
|
||||
|
||||
void exit_on_disconnect( bool exit );
|
||||
|
||||
void flush();
|
||||
|
||||
bool send( const Message&, unsigned int* serial = NULL );
|
||||
|
|
|
@ -181,6 +181,8 @@ typedef bool (*CondVarWaitTimeoutFn)( CondVar* cv, Mutex* mx, int timeout );
|
|||
typedef void (*CondVarWakeOneFn)( CondVar* cv );
|
||||
typedef void (*CondVarWakeAllFn)( CondVar* cv );
|
||||
|
||||
void _init_threading();
|
||||
|
||||
void _init_threading(
|
||||
MutexNewFn, MutexFreeFn, MutexLockFn, MutexUnlockFn,
|
||||
CondVarNewFn, CondVarFreeFn, CondVarWaitFn, CondVarWaitTimeoutFn, CondVarWakeOneFn, CondVarWakeAllFn
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue