Project

General

Profile

Revision d669a8ab

IDd669a8ab962209f1e9575b0f71b3379a777444b1

Added by Simon Tenbusch almost 9 years ago

[nullduration] added
- runtimeexception when wrong priority is scheduled
- NOBARRIER-threadstate now uses UINT_MAX for barriers

View differences:

src/sim/cspinningthreadpool.cc
320 320
        threadStates[threadId].data.priority = msg->getSchedulingPriority();
321 321
        threadStates[threadId].data.parentStartTime = msg->getParentStartTime();
322 322
        threadStates[threadId].data.parentExecutionOrderId = msg->getParentExecutionOrderId();
323
        threadStates[threadId].data.schedulingOrderId = msg->getSchedulingOrderId(); //TODO: Is it correct to set to UINT_MAX?
323
        threadStates[threadId].data.schedulingOrderId = UINT_MAX;
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