Revision 463434d4 src/sim/cbarriermessage.cc

View differences:

src/sim/cbarriermessage.cc
23 23
#include "cbarriermessage.h"
24 24

  
25 25
cBarrierMessage::cBarrierMessage() :
26
    cMessage("BarrierMessage"), valid(true)
26
    cMessage("BarrierMessage")
27 27
{
28 28
    sem_init(&sem, 0, 0);
29
    AO_store(&valid, 1);
29 30
}
30 31

  
31 32

  

Also available in: Unified diff