--- a/ProcSched.st Wed Jul 24 12:51:58 1996 +0200
+++ b/ProcSched.st Wed Jul 24 16:56:33 1996 +0200
@@ -1886,8 +1886,9 @@
removeCorruptedFds
"this is sent when select returns an error due to some invalid
- fileDescriptor. May happens, if someone does a readWait/writeWait on a
- connection, which somehow gets corrupted.
+ fileDescriptor. May happen, if someone does a readWait/writeWait on a
+ socket connection, which somehow got corrupted
+ (shutdown by partner, or closed in another thread).
Without special care, all following selects would immediately return with
an #EBADF error, leading to high-frequency polling and a locked up system.
(you could still fix things by interrupting on the console and fixing the
@@ -1926,6 +1927,7 @@
].
"Modified: 12.4.1996 / 09:32:58 / stefan"
+ "Modified: 24.7.1996 / 16:55:47 / cg"
!
schedulerInterrupt
@@ -2066,6 +2068,6 @@
!ProcessorScheduler class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/Attic/ProcSched.st,v 1.85 1996-07-18 18:42:36 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/Attic/ProcSched.st,v 1.86 1996-07-24 14:56:33 cg Exp $'
! !
ProcessorScheduler initialize!
--- a/ProcessorScheduler.st Wed Jul 24 12:51:58 1996 +0200
+++ b/ProcessorScheduler.st Wed Jul 24 16:56:33 1996 +0200
@@ -1886,8 +1886,9 @@
removeCorruptedFds
"this is sent when select returns an error due to some invalid
- fileDescriptor. May happens, if someone does a readWait/writeWait on a
- connection, which somehow gets corrupted.
+ fileDescriptor. May happen, if someone does a readWait/writeWait on a
+ socket connection, which somehow got corrupted
+ (shutdown by partner, or closed in another thread).
Without special care, all following selects would immediately return with
an #EBADF error, leading to high-frequency polling and a locked up system.
(you could still fix things by interrupting on the console and fixing the
@@ -1926,6 +1927,7 @@
].
"Modified: 12.4.1996 / 09:32:58 / stefan"
+ "Modified: 24.7.1996 / 16:55:47 / cg"
!
schedulerInterrupt
@@ -2066,6 +2068,6 @@
!ProcessorScheduler class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/ProcessorScheduler.st,v 1.85 1996-07-18 18:42:36 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/ProcessorScheduler.st,v 1.86 1996-07-24 14:56:33 cg Exp $'
! !
ProcessorScheduler initialize!