From cc73b3da32ff6d4bebe9013b812f2845ad282cf7 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Thu, 24 Feb 2005 18:37:16 +0000 Subject: 2005-02-24 Havoc Pennington * 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 --- dbus/dbus-threads.h | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'dbus/dbus-threads.h') 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 */ -- cgit