equal
deleted
inserted
replaced
493 ! ! |
493 ! ! |
494 |
494 |
495 !NonPositionableExternalStream protectedMethodsFor:'private'! |
495 !NonPositionableExternalStream protectedMethodsFor:'private'! |
496 |
496 |
497 closeFile |
497 closeFile |
|
498 <resource: #PRIVATE> |
|
499 |
498 |semasToSignal| |
500 |semasToSignal| |
499 |
501 |
500 handle notNil ifTrue:[ |
502 handle notNil ifTrue:[ |
501 "make sure, that no select is performed on closed file descriptors" |
503 "make sure, that no select is performed on closed file descriptors" |
502 semasToSignal := Processor disableFd:self fileHandle doSignal:false. |
504 semasToSignal := Processor disableFd:self fileHandle doSignal:false. |
505 "tell the waiters that they must not wait any longer" |
507 "tell the waiters that they must not wait any longer" |
506 semasToSignal do:[:eachSema| |
508 semasToSignal do:[:eachSema| |
507 eachSema signalForAll. |
509 eachSema signalForAll. |
508 ]. |
510 ]. |
509 ]. |
511 ]. |
|
512 |
|
513 "Modified: / 07-04-2017 / 14:32:00 / cg" |
510 ! ! |
514 ! ! |
511 |
515 |
512 !NonPositionableExternalStream methodsFor:'private'! |
516 !NonPositionableExternalStream methodsFor:'private'! |
513 |
517 |
514 handleForStderr |
518 handleForStderr |