diff options
author | Havoc Pennington <hp@redhat.com> | 2005-02-24 18:37:16 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2005-02-24 18:37:16 +0000 |
commit | cc73b3da32ff6d4bebe9013b812f2845ad282cf7 (patch) | |
tree | 6c82eeaeaeb65911a2de97688660f5d4e6a15d71 /dbus/dbus-threads.h | |
parent | 54a2e9f7961b4b8afff94bb0c5b756f986965be6 (diff) |
2005-02-24 Havoc Pennington <hp@redhat.com>
* dbus/dbus-server.c, dbus/dbus-server-unix.c: change semantics so
you must disconnect before unref, since locking and other things
are screwed up otherwise. Fix assorted other locking stuff.
* dbus/dbus-signature.c (dbus_signature_iter_get_element_type):
fix compilation
* dbus/dbus-threads-internal.h: move the mutex/condvar wrappers
into a private header and don't export from the library
* throughout - call _dbus_thread_stuff vs. dbus_thread_stuff
Diffstat (limited to 'dbus/dbus-threads.h')
-rw-r--r-- | dbus/dbus-threads.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/dbus/dbus-threads.h b/dbus/dbus-threads.h index 4391ff1d..cf1c01d2 100644 --- a/dbus/dbus-threads.h +++ b/dbus/dbus-threads.h @@ -97,26 +97,8 @@ typedef struct } DBusThreadFunctions; - -DBusMutex* dbus_mutex_new (void); -void dbus_mutex_free (DBusMutex *mutex); -dbus_bool_t dbus_mutex_lock (DBusMutex *mutex); -dbus_bool_t dbus_mutex_unlock (DBusMutex *mutex); - -DBusCondVar* dbus_condvar_new (void); -void dbus_condvar_free (DBusCondVar *cond); -void dbus_condvar_wait (DBusCondVar *cond, - DBusMutex *mutex); -dbus_bool_t dbus_condvar_wait_timeout (DBusCondVar *cond, - DBusMutex *mutex, - int timeout_milliseconds); -void dbus_condvar_wake_one (DBusCondVar *cond); -void dbus_condvar_wake_all (DBusCondVar *cond); - dbus_bool_t dbus_threads_init (const DBusThreadFunctions *functions); - - DBUS_END_DECLS #endif /* DBUS_THREADS_H */ |