Win32OperatingSystem.st
branchjv
changeset 18117 eb433f2c42b2
parent 18115 26ac4840e5d0
parent 15923 6bc82606b914
child 18120 e3a375d5f6a8
--- a/Win32OperatingSystem.st	Fri Jan 31 02:04:30 2014 +0000
+++ b/Win32OperatingSystem.st	Sun Feb 02 14:16:24 2014 +0000
@@ -11318,14 +11318,15 @@
 !
 
 setBlocking:aBoolean on:fd
-    "{ Pragma: +optSpace }"
-
     "set/clear the blocking attribute - if set (which is the default)
      a read on the fileDescriptor will block until data is available.
      If cleared, a read operation will immediately return with a value of
-     nil."
-
-    ^ self "/ primitiveFailed
+     nil.
+
+     Ignored in windows. Windows calls operate in their own thread,
+     so non-blocking mode doesn't make sense."
+
+    ^ true 
 !
 
 waitForMultipleObjects:fdOrHandleArray withTimeout:millis
@@ -17487,15 +17488,15 @@
 !Win32OperatingSystem class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Win32OperatingSystem.st,v 1.488 2013-12-17 16:47:26 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Win32OperatingSystem.st,v 1.489 2014-01-29 16:08:17 stefan Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/Win32OperatingSystem.st,v 1.488 2013-12-17 16:47:26 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Win32OperatingSystem.st,v 1.489 2014-01-29 16:08:17 stefan Exp $'
 !
 
 version_SVN
-    ^ '$Id: Win32OperatingSystem.st,v 1.488 2013-12-17 16:47:26 cg Exp $'
+    ^ '$Id: Win32OperatingSystem.st,v 1.489 2014-01-29 16:08:17 stefan Exp $'
 
 ! !