34 #ifndef IPCLISTENER_HPP
35 #define IPCLISTENER_HPP
70 void setReady(
bool ready ) { this->ready = ready; }
87 static DWORD WINAPI IPCListenerLoopWrap( LPVOID arg ) {
89 LPVOID *argl = (LPVOID *) arg;
103 LPVOID *arg =
new LPVOID[2];
110 thread = CreateThread( NULL, 0, &IPCListenerLoopWrap, arg, 0, NULL );
111 if(
thread != NULL )
return true;
PeerList * list
Definition: IPCListener.hpp:78
HANDLE thread
Definition: Stoppable.hpp:48
Definition: Lockable.hpp:44
LockableOffset()
Definition: IPCListener.hpp:54
void setReady(bool ready)
Sets ready flag.
Definition: IPCListener.hpp:70
Definition: Stoppable.hpp:45
FrequencyRatio ls_freqoffset
Definition: windows/daemon_cl/ipcdef.hpp:178
bool start(IPCSharedData data)
Starts the listener loop in a new thread.
Definition: IPCListener.hpp:102
int64_t ml_phoffset
Definition: windows/daemon_cl/ipcdef.hpp:175
FrequencyRatio ml_freqoffset
Definition: windows/daemon_cl/ipcdef.hpp:176
bool isReady()
Get Internal ready flag.
Definition: IPCListener.hpp:65
uint64_t local_time
Definition: windows/daemon_cl/ipcdef.hpp:179
LockableOffset * offset
Definition: IPCListener.hpp:79
Definition: IPCListener.hpp:76
Definition: PeerList.hpp:68
~IPCListener()
Definition: IPCListener.hpp:117
Definition: IPCListener.hpp:47
Definition: IPCListener.hpp:85
int64_t ls_phoffset
Definition: windows/daemon_cl/ipcdef.hpp:177
Definition: windows/daemon_cl/ipcdef.hpp:173