git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make eDVBResourceManager accessible from python (needed for allocate a raw iDVBChannel)
[enigma2.git]
/
lib
/
base
/
ebase.h
diff --git
a/lib/base/ebase.h
b/lib/base/ebase.h
index a224e2cc40975a47a0dc337c373e75bffe345ed9..b819fc355b70baf6d7507e410dfe93ea39ce931e 100644
(file)
--- a/
lib/base/ebase.h
+++ b/
lib/base/ebase.h
@@
-187,6
+187,7
@@
class eMainloop
pthread_mutex_t recalcLock;
int m_now_is_invalid;
pthread_mutex_t recalcLock;
int m_now_is_invalid;
+ int m_interrupt_requested;
#endif
public:
static void addTimeOffset(int offset);
#endif
public:
static void addTimeOffset(int offset);
@@
-200,7
+201,7
@@
public:
#endif
eMainloop()
#endif
eMainloop()
- :app_quit_now(0),loop_level(0),retval(0)
+ :app_quit_now(0),loop_level(0),retval(0)
, m_interrupt_requested(0)
{
m_now_is_invalid = 0;
existing_loops.push_back(this);
{
m_now_is_invalid = 0;
existing_loops.push_back(this);
@@
-230,6
+231,7
@@
public:
/* our new shared polling interface. */
PyObject *poll(PyObject *dict, PyObject *timeout);
/* our new shared polling interface. */
PyObject *poll(PyObject *dict, PyObject *timeout);
+ void interruptPoll();
};
/**
};
/**