try to make CA-Init more reliable

This commit is contained in:
FlatTV
2021-05-30 12:26:14 +02:00
committed by Thilo Graf
parent 3fcb4ff6a6
commit c3c6aa66ca
3 changed files with 25 additions and 7 deletions

View File

@@ -315,6 +315,7 @@ class cCA
pthread_mutex_t ciMutex;
std::list<eDVBCISlot *> slot_data;
pthread_t slot_thread;
bool zapitReady;
public:
/// sh4 unused
@@ -386,6 +387,9 @@ class cCA
void setCheckLiveSlot(int check);
/// as the name says
bool CheckCerts(void);
/// start pollthread after zapit is ready
virtual void setZapitReady(){zapitReady = true;};
virtual bool getZapitReady(){return zapitReady;};
/// Virtual destructor
virtual ~cCA();
};