"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dbus/dbus-threads.c" between
dbus-1.13.12.tar.xz and dbus-1.13.14.tar.xz

About: D-Bus is an inter-process communication (IPC) system, allowing multiple, concurrently-running applications to communicate with one another. D-Bus supplies both a system daemon and a per-user-login-session daemon. Development version.

dbus-threads.c  (dbus-1.13.12.tar.xz):dbus-threads.c  (dbus-1.13.14.tar.xz)
skipping to change at line 29 skipping to change at line 29
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 US A * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 US A
* *
*/ */
#include <config.h> #include <config.h>
#include "dbus-threads.h" #include "dbus-threads.h"
#include "dbus-internals.h" #include "dbus-internals.h"
#include "dbus-threads-internal.h" #include "dbus-threads-internal.h"
#include "dbus-list.h" #include "dbus-list.h"
/* Protected by _dbus_threads_lock_platform_specific() */
static int thread_init_generation = 0; static int thread_init_generation = 0;
/** /**
* @defgroup DBusThreadsInternals Thread functions * @defgroup DBusThreadsInternals Thread functions
* @ingroup DBusInternals * @ingroup DBusInternals
* @brief _dbus_rmutex_lock(), etc. * @brief _dbus_rmutex_lock(), etc.
* *
* Functions and macros related to threads and thread locks. * Functions and macros related to threads and thread locks.
* *
* @{ * @{
skipping to change at line 284 skipping to change at line 285
*/ */
void void
_dbus_condvar_wake_one (DBusCondVar *cond) _dbus_condvar_wake_one (DBusCondVar *cond)
{ {
if (cond == NULL) if (cond == NULL)
return; return;
_dbus_platform_condvar_wake_one (cond); _dbus_platform_condvar_wake_one (cond);
} }
/* Protected by _dbus_threads_lock_platform_specific() */
static DBusRMutex *global_locks[_DBUS_N_GLOBAL_LOCKS] = { NULL }; static DBusRMutex *global_locks[_DBUS_N_GLOBAL_LOCKS] = { NULL };
static void static void
shutdown_global_locks (void *nil) shutdown_global_locks (void *nil)
{ {
int i; int i;
for (i = 0; i < _DBUS_N_GLOBAL_LOCKS; i++) for (i = 0; i < _DBUS_N_GLOBAL_LOCKS; i++)
{ {
_dbus_assert (global_locks[i] != NULL); _dbus_assert (global_locks[i] != NULL);
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)