#ifndef THREAD_MONITOR_H
#define THREAD_MONITOR_H

typedef void (*thread_start_routine_cb)(bool *runable, void* user_arg);
typedef void (*thread_destructor_cb)(void);

int threads_monitor_register_thread(thread_start_routine_cb start_routine, thread_destructor_cb destructor, const char* routine_name, void* arg);

int threads_monitor_runnable();

int threads_monitor_stop_all();
#endif

