"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dbus/dbus-sysdeps-thread-win.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-sysdeps-thread-win.c  (dbus-1.13.12.tar.xz):dbus-sysdeps-thread-win.c  (dbus-1.13.14.tar.xz)
skipping to change at line 35 skipping to change at line 35
#include "dbus-internals.h" #include "dbus-internals.h"
#include "dbus-sysdeps.h" #include "dbus-sysdeps.h"
#include "dbus-sysdeps-win.h" #include "dbus-sysdeps-win.h"
#include "dbus-threads.h" #include "dbus-threads.h"
#include "dbus-list.h" #include "dbus-list.h"
#include <stdio.h> #include <stdio.h>
#include <windows.h> #include <windows.h>
/* Protected by DllMain lock, effectively */
static dbus_bool_t global_init_done = FALSE; static dbus_bool_t global_init_done = FALSE;
static CRITICAL_SECTION init_lock; static CRITICAL_SECTION init_lock;
/* Called from C++ code in dbus-init-win.cpp. */ /* Called from C++ code in dbus-init-win.cpp. */
void void
_dbus_threads_windows_init_global (void) _dbus_threads_windows_init_global (void)
{ {
/* this ensures that the object that acts as our global constructor /* this ensures that the object that acts as our global constructor
* actually gets linked in when we're linked statically */ * actually gets linked in when we're linked statically */
_dbus_threads_windows_ensure_ctor_linked (); _dbus_threads_windows_ensure_ctor_linked ();
skipping to change at line 57 skipping to change at line 58
global_init_done = TRUE; global_init_done = TRUE;
} }
struct DBusCondVar { struct DBusCondVar {
DBusList *list; /**< list thread-local-stored events waiting on the con d variable */ DBusList *list; /**< list thread-local-stored events waiting on the con d variable */
CRITICAL_SECTION lock; /**< lock protecting the list */ CRITICAL_SECTION lock; /**< lock protecting the list */
}; };
static DWORD dbus_cond_event_tls = TLS_OUT_OF_INDEXES; static DWORD dbus_cond_event_tls = TLS_OUT_OF_INDEXES;
/* Protected by DllMain lock, effectively */
static HMODULE dbus_dll_hmodule; static HMODULE dbus_dll_hmodule;
void * void *
_dbus_win_get_dll_hmodule (void) _dbus_win_get_dll_hmodule (void)
{ {
return dbus_dll_hmodule; return dbus_dll_hmodule;
} }
#ifdef DBUS_WINCE #ifdef DBUS_WINCE
#define hinst_t HANDLE #define hinst_t HANDLE
 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)