
www.Usenet.com
| <-- __Chronological__ --> | <-- __Thread__ --> |
In article <[EMAIL PROTECTED]>, Rob Warnock <[EMAIL PROTECTED]> wrote:In 1972, at Digital Communications Associates, I designed the kernel for a realtime embedded operating system for a networking node which was based on *precisely* that notion: The system ran with interrupts *OFF*, and the programmers were required to insert "@YIELD" macros[1] every so often[2] in the code. The "@YIELD" macro was logically a no-op[3] unless some I/O event had occurred that needed to run a task of higher priority than the current task. Worked like a charm!!
Interesting. It was quite popular with the networking people at about that time, probably on the grounds that similar problems lead to similar solutions.
Terje -- - <[EMAIL PROTECTED]> "almost all programming can be viewed as an exercise in caching"
| <-- __Chronological__ --> | <-- __Thread__ --> |