git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6140268
)
use POLLPRI for (HUP suckz - not maskable)
author
Ronny Strutz
<ronny.strutz@multimedia-labs.de>
Sat, 13 Aug 2005 00:48:32 +0000
(
00:48
+0000)
committer
Ronny Strutz
<ronny.strutz@multimedia-labs.de>
Sat, 13 Aug 2005 00:48:32 +0000
(
00:48
+0000)
lib/dvb_ci/dvbci.cpp
patch
|
blob
|
history
diff --git
a/lib/dvb_ci/dvbci.cpp
b/lib/dvb_ci/dvbci.cpp
index cb53334256d2d8dd99894df017ae97b12be5830d..6a748118c0b07fb8a996ced7e21759acedbc2a4b 100644
(file)
--- a/
lib/dvb_ci/dvbci.cpp
+++ b/
lib/dvb_ci/dvbci.cpp
@@
-51,14
+51,14
@@
int eDVBCISlot::send(const unsigned char *data, size_t len)
printf("write() %d\n",res);
printf("write() %d\n",res);
- notifier->setRequested(eSocketNotifier::Read|eSocketNotifier::
Hungup
|eSocketNotifier::Write);
+ notifier->setRequested(eSocketNotifier::Read|eSocketNotifier::
Priority
|eSocketNotifier::Write);
return res;
}
void eDVBCISlot::data(int what)
{
return res;
}
void eDVBCISlot::data(int what)
{
- if(what == eSocketNotifier::
Hungup
) {
+ if(what == eSocketNotifier::
Priority
) {
if(state != stateRemoved) {
state = stateRemoved;
printf("ci removed\n");
if(state != stateRemoved) {
state = stateRemoved;
printf("ci removed\n");
@@
-80,7
+80,7
@@
void eDVBCISlot::data(int what)
/* enable HUP to detect removal or errors */
//notifier_event->start();
/* enable HUP to detect removal or errors */
//notifier_event->start();
- notifier->setRequested(eSocketNotifier::Read|eSocketNotifier::
Hungup
|eSocketNotifier::Write);
+ notifier->setRequested(eSocketNotifier::Read|eSocketNotifier::
Priority
|eSocketNotifier::Write);
}
if(r > 0) {
}
if(r > 0) {
@@
-91,7
+91,7
@@
void eDVBCISlot::data(int what)
printf("\n");
//eDebug("ci talks to us");
eDVBCISession::receiveData(this, data, r);
printf("\n");
//eDebug("ci talks to us");
eDVBCISession::receiveData(this, data, r);
- notifier->setRequested(eSocketNotifier::Read|eSocketNotifier::
Hungup
|eSocketNotifier::Write);
+ notifier->setRequested(eSocketNotifier::Read|eSocketNotifier::
Priority
|eSocketNotifier::Write);
return;
}
return;
}
@@
-99,7
+99,7
@@
void eDVBCISlot::data(int what)
printf("pollall\n");
if(eDVBCISession::pollAll() == 0) {
printf("disable pollout\n");
printf("pollall\n");
if(eDVBCISession::pollAll() == 0) {
printf("disable pollout\n");
- notifier->setRequested(eSocketNotifier::Read | eSocketNotifier::
Hungup
);
+ notifier->setRequested(eSocketNotifier::Read | eSocketNotifier::
Priority
);
}
return;
}
}
return;
}
@@
-119,7
+119,7
@@
eDVBCISlot::eDVBCISlot(eMainloop *context, int nr)
if (fd >= 0)
{
if (fd >= 0)
{
- notifier = new eSocketNotifier(context, fd, eSocketNotifier::Read | eSocketNotifier::
Hungup
);
+ notifier = new eSocketNotifier(context, fd, eSocketNotifier::Read | eSocketNotifier::
Priority
);
CONNECT(notifier->activated, eDVBCISlot::data);
} else
{
CONNECT(notifier->activated, eDVBCISlot::data);
} else
{