Mixe for Privacy and Anonymity in the Internet
Functions
CAReplayCtrlChannelMsgProc.cpp File Reference
#include "StdAfx.h"
#include "CAReplayCtrlChannelMsgProc.hpp"
#include "CAReplayControlChannel.hpp"
#include "CAMixWithReplayDB.hpp"
#include "CAMix.hpp"
#include "CACmdLnOptions.hpp"
#include "CAFirstMix.hpp"
#include "CADatabase.hpp"
Include dependency graph for CAReplayCtrlChannelMsgProc.cpp:

Go to the source code of this file.

Functions

THREAD_RETURN rp_loopPropagateTimestamp (void *param)
 

Function Documentation

◆ rp_loopPropagateTimestamp()

THREAD_RETURN rp_loopPropagateTimestamp ( void *  param)

Definition at line 188 of file CAReplayCtrlChannelMsgProc.cpp.

189  {
191  UINT32 propagationInterval=pReplayMsgProc->m_u32PropagationInterval;
192  while(pReplayMsgProc->m_bRun)
193  {
194  if(propagationInterval==0)
195  {
196  pReplayMsgProc->propagateCurrentReplayTimestamp();
197  propagationInterval=pReplayMsgProc->m_u32PropagationInterval;
198  }
199  sSleep(60);
200  propagationInterval--;
201  }
203  }
SINT32 sSleep(UINT32 sec)
Sleeps sec Seconds.
Definition: CAUtil.cpp:425
#define THREAD_RETURN_SUCCESS
Definition: StdAfx.h:542
unsigned int UINT32
Definition: basetypedefs.h:131
SINT32 propagateCurrentReplayTimestamp()
Propagates downstream the current replay timestamp.