Revision fbe00e73 src/sim/clockedthreadpool.cc

View differences:

src/sim/clockedthreadpool.cc
23 23
#include "clockedthreadpool.h"
24 24
#include "cmessage.h"
25 25
#include "cconfiguration.h"
26
#include "casyncmodule.h"
27 26
#include "cdefaultlist.h"
28 27
#include "cbarriermessage.h"
28
#include "csimplemodule.h"
29 29

  
30 30
//#define TIMING_DEBUG
31 31

  
......
119 119
        // NOTE: possible race condition with deregister module which sets vect[...]
120 120
        //       to NULL. However, shouldn't be a problem since vect is ever increasing
121 121
        //
122
        cAsyncModule* mod = (cAsyncModule*)simulation.vect[msg->getArrivalModuleId()];
122
        cSimpleModule* mod = (cSimpleModule*)simulation.vect[msg->getArrivalModuleId()];
123 123
        cThreadPool::setDefaultOwner(mod);
124 124

  
125 125
#ifdef TIMING_DEBUG

Also available in: Unified diff