]> git.stg.codes - stg.git/blobdiff - projects/stargazer/eventloop.cpp
Hide assignement operator for USER_IMPL
[stg.git] / projects / stargazer / eventloop.cpp
index 96c1ca4ff0fe9ccaf8dfe7d42be00612835bd6a0..dd17de9b07a3c9ee6f488817b38fc9dcc8925adb 100644 (file)
@@ -1,12 +1,17 @@
 #include <cerrno>
 #include <cstring>
 
-#include "stg/stg_locker.h"
+#include "stg/locker.h"
 #include "stg/common.h"
 #include "eventloop.h"
 
 EVENT_LOOP::EVENT_LOOP()
-    : ACTIONS_LIST()
+    : ACTIONS_LIST(),
+      _running(false),
+      _stopped(true),
+      _tid(),
+      _mutex(),
+      _condition()
 {
 pthread_mutex_init(&_mutex, NULL);
 pthread_cond_init(&_condition, NULL);