mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-13 16:33:42 +02:00
nhttp: change mutex type to recursive
This commit is contained in:
@@ -25,7 +25,7 @@ bool _initialize_iso639_map(void);
|
||||
//-------------------------------------------------------------------------
|
||||
class CNeutrinoAPI
|
||||
{
|
||||
OpenThreads::Mutex mutex;
|
||||
OpenThreads::Mutex *pmutex;
|
||||
// Clientlibs
|
||||
CSectionsdClient *Sectionsd;
|
||||
CZapitClient *Zapit;
|
||||
@@ -88,6 +88,8 @@ public:
|
||||
CChannelEventList eList;
|
||||
CNeutrinoYParser *NeutrinoYParser;
|
||||
CControlAPI *ControlAPI;
|
||||
void Lock() { pmutex->lock(); }
|
||||
void Unlock() { pmutex->unlock(); }
|
||||
|
||||
friend class CNeutrinoYParser; // Backreference
|
||||
friend class CControlAPI;
|
||||
|
Reference in New Issue
Block a user