git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f9fdda
)
Initialize class members in EVENT_LOOP constructor
author
Maxim Mamontov
<faust.madf@gmail.com>
Wed, 14 Sep 2011 14:33:20 +0000
(17:33 +0300)
committer
Maxim Mamontov
<faust.madf@gmail.com>
Wed, 14 Sep 2011 14:33:20 +0000
(17:33 +0300)
projects/stargazer/eventloop.cpp
patch
|
blob
|
history
diff --git
a/projects/stargazer/eventloop.cpp
b/projects/stargazer/eventloop.cpp
index 1d1a209d9bc9e574bcac360d2a8b4d95e4fb8838..dd17de9b07a3c9ee6f488817b38fc9dcc8925adb 100644
(file)
--- a/
projects/stargazer/eventloop.cpp
+++ b/
projects/stargazer/eventloop.cpp
@@
-6,7
+6,12
@@
#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);