PR# 10744 Process library should use poll, select or pselect instead of try/sleep cycle

Problem Report Summary
Submitter: prestoat2000
Category: EiffelStudio
Priority: Medium
Date: 2006/07/24
Class: Bug
Severity: Non-critical
Number: 10744
Release: 5.7.61376
Confidential: No
Status: Open
Responsible:
Environment: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.10) Gecko/20050726 Firefox/1.0.6 Solaris 9 on SPARC
Synopsis: Process library should use poll, select or pselect instead of try/sleep cycle

Description
It may be a little late to change this (and maybe there is
something I am missing) but I noticed that classes such
as PROCESS_OUTPUT_LISTENER_THREAD use polling (try to
read data, then sleep for a little while if none) instead
of an event driven model (go to sleep until there is some
data to read).  Perhaps this is because such a model can't
be supported on Windows, but I expected to see use of
poll or select or pselect in the Unix implementation
classes.  I have some classes that use this method
(really part of eweasel but never delivered with it)
if you're interested.
To Reproduce

										
Problem Report Interactions