#include "common.h"
-void *macos_main(void *ptr)
-{
- (void)ptr;
+void *macos_main(void *ptr) {
+ struct netdata_static_thread *static_thread = (struct netdata_static_thread *)ptr;
info("MACOS Plugin thread created with task id %d", gettid());
info("MACOS thread exiting");
+ static_thread->enabled = 0;
+ static_thread->thread = NULL;
pthread_exit(NULL);
return NULL;
}