Revision 77cb9420 src/sim/cspinningthreadpool.cc

View differences:

src/sim/cspinningthreadpool.cc
320 320
        threadStates[threadId].data.priority = msg->getSchedulingPriority();
321 321
        threadStates[threadId].data.parentStartTime = msg->getArrivalTime();
322 322
        threadStates[threadId].data.parentExecutionOrderId = msg->getExecutionOrderId();
323
        threadStates[threadId].data.schedulingOrderId = UINT_MAX;
323
        threadStates[threadId].data.schedulingOrderId = 0;
324 324
        threadStates[threadId].data.insertOrder = msg->getInsertOrder();
325 325
#endif
326 326
        AO_store_write(&threadStates[threadId].data.msg, (size_t) msg);

Also available in: Unified diff