Namespaces | |
namespace | DBus |
Shim to call the posix/unix dbus library. | |
Classes | |
class | DBusInstance |
Handler for a dbus session. More... | |
Functions | |
eError BURGER_API | nanosleep_delay (timespec *pInput, uint_t bAlertable=FALSE) BURGER_NOEXCEPT |
Sleep for a specific duration with nanosleep() | |
int | pthread_setname_np (uintptr_t target_thread, const char *name) |
Shim for pthread_setname_np() | |
uint_t BURGER_API | has_dbus (void) BURGER_NOEXCEPT |
Test if dbus is present. | |
|
extern |
Test if dbus is present.
Try to load the dbus library and return if it succeed or failed.
A side effect of this function is that it will call DBus::init() so dbus will be initialized after this call.
|
extern |
Sleep for a specific duration with nanosleep()
nanosleep() can be interrupted and the delay aborted. If this is not desired, then leave the parameter bAlertable set to FALSE. If bAlertable is set to TRUE, then interrupt aborts is allowed.
pInput | Pointer to an initialized timespec with the desired delay. |
bAlertable | TRUE if interruption is allowed |
|
extern |
Shim for pthread_setname_np()
Check if pthread_setname_np() is available, and if so, dispatch the call to the actual function. If the function is not available, always return EPERM.
target_thread | pthread_t of the thread to name (Not available on Darwin) |
name | Pointer to a "C" for the new thread name |