2081 pthread_attr_t attr;
2084 status = pthread_attr_init(&attr);
2087 printf(
"Init attribute error [LogWatchDog]: %d\n", status);
2090 return FEE_THREAD_ERROR;
2092 status = pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
2095 printf(
"Set attribute error [LogWatchDog]: %d\n", status);
2098 return FEE_THREAD_ERROR;
2106 printf(
"Create thread error [LogWatchDog]: %d\n", status);
2109 return FEE_THREAD_ERROR;
2113 status = pthread_attr_destroy(&attr);
2116 printf(
"Destroy attribute error [LogWatchDog]: %d\n", status);
static pthread_t thread_logWatchdog