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

Definition at line 188 of file CAReplayCtrlChannelMsgProc.cpp.

References CAReplayCtrlChannelMsgProc::m_bRun, CAReplayCtrlChannelMsgProc::m_u32PropagationInterval, CAReplayCtrlChannelMsgProc::propagateCurrentReplayTimestamp(), sSleep(), and THREAD_RETURN_SUCCESS.

  {
    CAReplayCtrlChannelMsgProc* pReplayMsgProc=(CAReplayCtrlChannelMsgProc*)param;
    UINT32 propagationInterval=pReplayMsgProc->m_u32PropagationInterval;
    while(pReplayMsgProc->m_bRun)
      {
        if(propagationInterval==0)
          {
            pReplayMsgProc->propagateCurrentReplayTimestamp();
            propagationInterval=pReplayMsgProc->m_u32PropagationInterval;
          }
        sSleep(60);
        propagationInterval--;
      }
    THREAD_RETURN_SUCCESS;
  }

Here is the call graph for this function: