aboutsummaryrefslogtreecommitdiff
path: root/lib/base/ebase.h
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2005-11-15 22:33:00 +0000
committerFelix Domke <tmbinc@elitedvb.net>2005-11-15 22:33:00 +0000
commit9f34bd86d0dc2c2ea51fe9aa54533aa68cfadc64 (patch)
tree7e897677a0689f97e09f0ac393fbe2152ebc452e /lib/base/ebase.h
parent9aa7c938a1f03c1e42ed370c4895e549e7a6d80d (diff)
downloadenigma2-9f34bd86d0dc2c2ea51fe9aa54533aa68cfadc64.tar.gz
enigma2-9f34bd86d0dc2c2ea51fe9aa54533aa68cfadc64.zip
improve locking of addTimeOffset a bit
Diffstat (limited to 'lib/base/ebase.h')
-rw-r--r--lib/base/ebase.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/base/ebase.h b/lib/base/ebase.h
index 7fd5af02..54b4063b 100644
--- a/lib/base/ebase.h
+++ b/lib/base/ebase.h
@@ -175,10 +175,9 @@ class eMainloop
int loop_level;
void processOneEvent();
int retval;
- int timer_offset;
pthread_mutex_t recalcLock;
public:
- void addTimeOffset(int offset);
+ static void addTimeOffset(int offset);
void addSocketNotifier(eSocketNotifier *sn);
void removeSocketNotifier(eSocketNotifier *sn);
void addTimer(eTimer* e);
@@ -186,7 +185,7 @@ public:
static ePtrList<eMainloop> existing_loops;
eMainloop()
- :app_quit_now(0),loop_level(0),retval(0),timer_offset(0)
+ :app_quit_now(0),loop_level(0),retval(0)
{
existing_loops.push_back(this);
pthread_mutex_init(&recalcLock, 0);