??? 08/08/08 12:38 Read: times |
#157325 - a flavor Responding to: ???'s previous message |
With a bit of work, very complex applications can be written using a super-loop, without making the application impossible to maintain. The hard part - but it is always hard - is to prove a worst-case response time for any combination if timeouts and input stimuli.
well Per, I guess a 'superloop' is the same as a 'workloop'. you can prioritize the operation: for (;;) { if (MostImportantJob) continue; ... if (NextToLeastImportantJob) continue; LeastImportantJob(); } \ yes, this takes thought. Erik |