1880 pthread_attr_t attr;
1885 "No Items (float and int) for monitoring are available.", 0);
1890 status = pthread_attr_init(&attr);
1893 printf(
"Init attribute error [mon]: %d\n", status);
1896 return FEE_MONITORING_FAILED;
1898 status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
1901 printf(
"Set attribute error [mon]: %d\n", status);
1904 return FEE_MONITORING_FAILED;
1912 printf(
"Create thread error [mon - float]: %d\n", status);
1915 return FEE_MONITORING_FAILED;
1924 printf(
"Create thread error [mon - int]: %d\n", status);
1927 return FEE_MONITORING_FAILED;
1932 status = pthread_attr_destroy(&attr);
1935 printf(
"Destroy attribute error [mon]: %d\n", status);
static pthread_t thread_mon_int
static unsigned int intNodesAmount
void createLogMessage(unsigned int type, char *description, char *origin)
static pthread_t thread_mon
static unsigned int nodesAmount