On 17-Apr-06, at 3:47 PM, Ian Piumarta wrote:
Any chance you could fold the nanosleep back into the aioPoll() logic instead of making it a special case outside of select logic in aioPoll()
Would this be particularly helpful to you? I never call aioPoll() with non-zero from anywhere except relinquishProc, so for me it's better being outside aioPoll. But if you'd find it useful inside aioPoll then I don't think moving it there would break anything.
Cheers, Ian
That would be better, then no chance to miss a change later, so if I call aioPoll(0) you do the right thing and if I call aioPoll(timeToWait) then you wait N ms unless I guess an event comes in that needs to be processed thus terminating the wait.
-- ======================================================================== === John M. McIntosh johnmci@smalltalkconsulting.com 1-800-477-2659 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ======================================================================== ===