Project

General

Profile

Revision 6b036b78

ID6b036b78c349a789c989f9575734ffc2afe16eed

Added by Simon Tenbusch over 9 years ago

- added some debug output
- fixed taskheap: made operators static, otherwise the wrong operators would be used
- fixed t_start assignment in scheduleAt

View differences:

src/sim/csimulation.cc
715 715
                // then set the module to busy
716 716
                aMod->waitIfBusy();
717 717
                aMod->setBusy();
718
                printf("Offloading: %s\n",mod->getName());
718 719
                barrierMin = threadPool->insertTask(msg, duration, barrierMin);
719 720
            } else {
720 721
                // set the context for sequential execution
721 722
                setContext(mod);
722 723
                setContextType(CTX_EVENT);
723 724
                // take ownership in callHandleMessage after concurrency check
725

  
724 726
                aMod->callHandleMessage(msg);
725 727
            }
726 728

  

Also available in: Unified diff