diff -r 8f0267c644bc -r ba04d2e1a416 ProcessorScheduler.st --- a/ProcessorScheduler.st Mon Oct 21 10:15:07 2002 +0200 +++ b/ProcessorScheduler.st Tue Oct 22 13:58:20 2002 +0200 @@ -2393,13 +2393,11 @@ Or on systems, where we cannot select on a displays eventQ, such as windows)" |idx "{ Class: SmallInteger }" - fd wasBlocked| - - fd := aFileDescriptor. + wasBlocked| wasBlocked := OperatingSystem blockInterrupts. - fd isNil ifTrue:[ + aFileDescriptor isNil ifTrue:[ (readCheckArray identityIndexOf:aBlock startingAt:1) == 0 ifTrue:[ idx := readFdArray identityIndexOf:nil startingAt:1. idx ~~ 0 ifTrue:[ @@ -2465,7 +2463,7 @@ The checkBlock will be evaluated by the scheduler from time to time (i.e. every few milliseconds). This checkBlock is required for poor windows, where a WaitForObject does - not know abóut sockets." + not know about sockets." |idx "{ Class: SmallInteger }" wasBlocked| @@ -3208,6 +3206,6 @@ !ProcessorScheduler class methodsFor:'documentation'! version - ^ '$Header: /cvs/stx/stx/libbasic/ProcessorScheduler.st,v 1.201 2002-07-11 11:38:52 cg Exp $' + ^ '$Header: /cvs/stx/stx/libbasic/ProcessorScheduler.st,v 1.202 2002-10-22 11:58:20 cg Exp $' ! ! ProcessorScheduler initialize!