Data Structures | |
struct | ShutdownClosure |
This struct represents a function to be called on shutdown. More... | |
Typedefs | |
typedef struct ShutdownClosure | ShutdownClosure |
Represents a function to be called on shutdown. | |
Functions | |
dbus_bool_t | _dbus_register_shutdown_func (DBusShutdownFunction func, void *data) |
Register a cleanup function to be called exactly once the next time dbus_shutdown() is called. | |
Variables | |
int | _dbus_current_generation = 1 |
_dbus_current_generation is used to track each time that dbus_shutdown() is called, so we can reinit things after it's been called. |
Implementation details related to allocating and releasing blocks of memory.
dbus_bool_t _dbus_register_shutdown_func | ( | DBusShutdownFunction | func, | |
void * | data | |||
) |
Register a cleanup function to be called exactly once the next time dbus_shutdown() is called.
func | the function | |
data | data to pass to the function |
Definition at line 702 of file dbus-memory.c.
int _dbus_current_generation = 1 |
_dbus_current_generation is used to track each time that dbus_shutdown() is called, so we can reinit things after it's been called.
It is simply incremented each time we shut down.
Definition at line 673 of file dbus-memory.c.
Referenced by _dbus_condvar_free_at_location(), _dbus_condvar_new_at_location(), _dbus_mutex_free_at_location(), _dbus_mutex_new_at_location(), and dbus_threads_init().