Revision fbe00e73 src/sim/cspinningthreadpool.cc

View differences:

src/sim/cspinningthreadpool.cc
23 23
#include "cspinningthreadpool.h"
24 24
#include "cmessage.h"
25 25
#include "cconfiguration.h"
26
#include "casyncmodule.h"
27 26
#include "cconfigoption.h"
28 27
#ifndef NOBARRIER
29 28
#	include "cbarriermessage.h"
......
92 91
    // NOTE: possible race condition with de-register module which sets vect[...]
93 92
    //       to NULL. However, shouldn't be a problem since vect is ever increasing
94 93
    //
95
    cAsyncModule* mod = (cAsyncModule*) simulation.vect[msg->getArrivalModuleId()];
94
    cSimpleModule* mod = (cSimpleModule*) simulation.vect[msg->getArrivalModuleId()];
96 95
    cThreadPool::setDefaultOwner(mod);
97 96

  
98 97
#ifndef NOBARRIER

Also available in: Unified diff