On 05/10/2010 11:40 AM, Holger Hans Peter Freyther wrote:
Is that the expected behaviour? Should there be some code to check if a
process has recently exited and then not yield the Process but cycle
it once more?

Yes, it looks like that.  Check highest_priority_process:


              /* If there's only one element in the list, discard this
                 priority.  */
              processList = (gst_semaphore) OOP_TO_OBJ (processListOOP);
              if (processList->firstLink == processList->lastLink)
                continue;

maybe you want to test is_process_terminated too somewhere?

Paolo

_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to