sigar_t *sigar_handle;
int status = sigar_open(&sigar_handle);
which will be used between threads without blocking?
Or should I open own sigar handle for each thread? Or maybe it is better to have one handle with locking mechanism?
Thank you in advance for helping!
Hello, is it safe to have shared resource
which will be used between threads without blocking? Or should I open own sigar handle for each thread? Or maybe it is better to have one handle with locking mechanism? Thank you in advance for helping!