#include "libuuu.h"
#include <chrono>
#include <iostream>
#include <map>
#include <mutex>
#include <thread>
Functions | |
int | uuu_register_notify_callback (uuu_notify_fun f, void *data) |
int | uuu_unregister_notify_callback (uuu_notify_fun f) |
void | call_notify (struct uuu_notify nf) |
Variables | |
static map< uuu_notify_fun, void * > | g_notification_map |
static mutex | g_mutex_notify |
static const time_point< steady_clock > | g_now = steady_clock::now() |
void call_notify | ( | struct uuu_notify | nf | ) |
int uuu_register_notify_callback | ( | uuu_notify_fun | f, |
void * | data ) |
int uuu_unregister_notify_callback | ( | uuu_notify_fun | f | ) |
|
static |
|
static |
|
static |