Win32OperatingSystem.st
changeset 22248 d912ed5595ba
parent 22247 2cb99dbc787d
child 22253 e1b728149a94
equal deleted inserted replaced
22247:2cb99dbc787d 22248:d912ed5595ba
  1007     "Modified: 22.4.1996 / 13:10:43 / cg"
  1007     "Modified: 22.4.1996 / 13:10:43 / cg"
  1008     "Created: 15.6.1996 / 15:22:37 / cg"
  1008     "Created: 15.6.1996 / 15:22:37 / cg"
  1009     "Modified: 7.1.1997 / 19:36:11 / stefan"
  1009     "Modified: 7.1.1997 / 19:36:11 / stefan"
  1010 ! !
  1010 ! !
  1011 
  1011 
  1012 
       
  1013 !Win32OperatingSystem class methodsFor:'OS signal constants'!
  1012 !Win32OperatingSystem class methodsFor:'OS signal constants'!
  1014 
  1013 
  1015 sigABRT
  1014 sigABRT
  1016     "return the signal number for SIGABRT - 0 if not supported by OS
  1015     "return the signal number for SIGABRT - 0 if not supported by OS
  1017      (the numeric value is not the same across unix-systems)"
  1016      (the numeric value is not the same across unix-systems)"
 18430     ^ pid hash
 18429     ^ pid hash
 18431 ! !
 18430 ! !
 18432 
 18431 
 18433 !Win32OperatingSystem::Win32ProcessHandle methodsFor:'printing & storing'!
 18432 !Win32OperatingSystem::Win32ProcessHandle methodsFor:'printing & storing'!
 18434 
 18433 
 18435 displayOn:aStream
       
 18436     super printOn:aStream.
       
 18437     aStream nextPutAll:' pid:'.
       
 18438     pid printOn:aStream.
       
 18439 !
       
 18440 
       
 18441 printOn:aStream
 18434 printOn:aStream
 18442     "return a printed representation of the receiver
 18435     "return a printed representation of the receiver
 18443      If there is a pid, only print the pid, so that OSProcess>>#pid is printed the same on Windows and Linux-
 18436      If there is a pid, only print the pid, so that OSProcess>>#pid is printed the same on Windows and Linux-
 18444      See also: https://expeccoalm.exept.de/D216833"
 18437      See also: https://expeccoalm.exept.de/D216833"
 18445 
 18438 
 18447         super printOn:aStream.
 18440         super printOn:aStream.
 18448         aStream nextPutAll:' pid:'.
 18441         aStream nextPutAll:' pid:'.
 18449     ].
 18442     ].
 18450 
 18443 
 18451     pid printOn:aStream.
 18444     pid printOn:aStream.
       
 18445 !
       
 18446 
       
 18447 printStringForPrintIt
       
 18448     ^ super printString, ' pid:', pid printString.
 18452 ! !
 18449 ! !
 18453 
 18450 
 18454 !Win32OperatingSystem::Win32SerialPortHandle methodsFor:'opening'!
 18451 !Win32OperatingSystem::Win32SerialPortHandle methodsFor:'opening'!
 18455 
 18452 
 18456 open:portName baudRate:baudRate stopBitsType:stopBitsType
 18453 open:portName baudRate:baudRate stopBitsType:stopBitsType