Skip to content
  • John Palmieri's avatar
    * dbus/dbus-threads.c: Add static DBusList *uninitialized_mutex_list and · 14cc7d28
    John Palmieri authored
            static DBusList *uninitialized_condvar_list to support new late
            initialization threading model.  In this model threads can be initialized
            even after the D-Bus API has been used but still needs to be initialized
            before the second thread has been started.  Mutexes and condvar addresses
            are stored in the two static lists and are replaced with actuall locks
            when threads are initalized.
            (_dbus_mutex_new_at_location): New method for creating a mutex and placing
            the location into the static list
            (_dbus_mutex_free_at_location): New method for removing a mutex location
            from the static list and freeing the mutex
            (_dbus_condvar_new_at_location): New method for creating a conditional
            variable and placing the location into the static list
            (_dbus_condvar_free_at_location): New method for removing a conditional
            variable location fr...
    14cc7d28