From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 26 Nov 91 16:50:50 GMT From: cis.ohio-state.edu!zaphod.mps.ohio-state.edu!think.com!hsdndev!encore!max zilla!jcallen@ucbvax.Berkeley.EDU (Jerry Callen) Subject: Forcing context switches (was: Ada Tasking problem) Message-ID: <18072@encore.Encore.COM> List-Id: > [various discussion about using delays, especially delay 0.0, to force > context switches deleted] The Encore parallel runtime ignores delays of 0.0. Of course, since this runtime is for a multiprocessor, the issue of context switches is a bit more, um, "interesting." The vanilla Unix implementation maps each Ada task to (essentially) a kernel thread, so Unix handles the timeslicing. The realtime implementation uses a combination of priority and runtime-established timeslice parameters to do timeslicing. It would be nice to have some guidance from AJPO or someplace regarding what runtime tuning knobs are expected to be available. But then, maybe that's what "market differentiation" is all about. :-) -- Jerry Callen jcallen@world.std.com