]> git.stg.codes - stg.git/blobdiff - projects/stargazer/eventloop.cpp
Hide assignement operator for USER_IMPL
[stg.git] / projects / stargazer / eventloop.cpp
index 4cd6074bcbdabdd6618f83ac59ad5b988cb2c42b..dd17de9b07a3c9ee6f488817b38fc9dcc8925adb 100644 (file)
@@ -1,12 +1,17 @@
 #include <cerrno>
 #include <cstring>
 
 #include <cerrno>
 #include <cstring>
 
+#include "stg/locker.h"
+#include "stg/common.h"
 #include "eventloop.h"
 #include "eventloop.h"
-#include "stg_locker.h"
-#include "common.h"
 
 EVENT_LOOP::EVENT_LOOP()
 
 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);
 {
 pthread_mutex_init(&_mutex, NULL);
 pthread_cond_init(&_condition, NULL);