Win32OperatingSystem.st
changeset 15923 6bc82606b914
parent 15877 a752f474d7a2
child 15983 294a6922be11
child 18117 eb433f2c42b2
equal deleted inserted replaced
15922:af9427f065b7 15923:6bc82606b914
 11316     "
 11316     "
 11317     ^ self primitiveFailed
 11317     ^ self primitiveFailed
 11318 !
 11318 !
 11319 
 11319 
 11320 setBlocking:aBoolean on:fd
 11320 setBlocking:aBoolean on:fd
 11321     "{ Pragma: +optSpace }"
       
 11322 
       
 11323     "set/clear the blocking attribute - if set (which is the default)
 11321     "set/clear the blocking attribute - if set (which is the default)
 11324      a read on the fileDescriptor will block until data is available.
 11322      a read on the fileDescriptor will block until data is available.
 11325      If cleared, a read operation will immediately return with a value of
 11323      If cleared, a read operation will immediately return with a value of
 11326      nil."
 11324      nil.
 11327 
 11325 
 11328     ^ self "/ primitiveFailed
 11326      Ignored in windows. Windows calls operate in their own thread,
       
 11327      so non-blocking mode doesn't make sense."
       
 11328 
       
 11329     ^ true 
 11329 !
 11330 !
 11330 
 11331 
 11331 waitForMultipleObjects:fdOrHandleArray withTimeout:millis
 11332 waitForMultipleObjects:fdOrHandleArray withTimeout:millis
 11332     "wait for an fd to become ready.
 11333     "wait for an fd to become ready.
 11333      Timeout after t milliseconds or, if the timeout time is 0, immediately..
 11334      Timeout after t milliseconds or, if the timeout time is 0, immediately..
 17485 ! !
 17486 ! !
 17486 
 17487 
 17487 !Win32OperatingSystem class methodsFor:'documentation'!
 17488 !Win32OperatingSystem class methodsFor:'documentation'!
 17488 
 17489 
 17489 version
 17490 version
 17490     ^ '$Header: /cvs/stx/stx/libbasic/Win32OperatingSystem.st,v 1.488 2013-12-17 16:47:26 cg Exp $'
 17491     ^ '$Header: /cvs/stx/stx/libbasic/Win32OperatingSystem.st,v 1.489 2014-01-29 16:08:17 stefan Exp $'
 17491 !
 17492 !
 17492 
 17493 
 17493 version_CVS
 17494 version_CVS
 17494     ^ '$Header: /cvs/stx/stx/libbasic/Win32OperatingSystem.st,v 1.488 2013-12-17 16:47:26 cg Exp $'
 17495     ^ '$Header: /cvs/stx/stx/libbasic/Win32OperatingSystem.st,v 1.489 2014-01-29 16:08:17 stefan Exp $'
 17495 !
 17496 !
 17496 
 17497 
 17497 version_SVN
 17498 version_SVN
 17498     ^ '$Id: Win32OperatingSystem.st,v 1.488 2013-12-17 16:47:26 cg Exp $'
 17499     ^ '$Id: Win32OperatingSystem.st,v 1.489 2014-01-29 16:08:17 stefan Exp $'
 17499 
 17500 
 17500 ! !
 17501 ! !
 17501 
 17502 
 17502 
 17503 
 17503 Win32OperatingSystem initialize!
 17504 Win32OperatingSystem initialize!