AbstractOperatingSystem.st
branchjv
changeset 19225 9e8abf62f932
parent 18983 9f3e91ff6418
parent 19173 82f5c789a94c
child 19353 2b04ee017e72
--- a/AbstractOperatingSystem.st	Thu Feb 11 16:21:50 2016 +0000
+++ b/AbstractOperatingSystem.st	Fri Feb 12 11:35:56 2016 +0000
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 1988 by Claus Gittinger
 	      All Rights Reserved
@@ -3264,6 +3266,18 @@
 %}
 !
 
+interruptProcess:processId
+    "interrupt an OS process (CTRL-C)."
+
+    self subclassResponsibility
+!
+
+interruptProcessGroup:processGroupId
+    "interrupt an OS process group (CTRL-C)."
+
+    self subclassResponsibility
+!
+
 interruptsBlocked
     "return true, if interrupt handling is currently disabled;
      false otherwise."
@@ -3391,6 +3405,15 @@
     self subclassResponsibility
 !
 
+sendSignal:signalNumber to:processId toGroup:toGroupBoolean toAll:toAllBoolean
+    "send a unix signal to some process (maybe myself).
+     Returns false if any error occurred, true otherwise.
+
+     Do not confuse UNIX signals with Smalltalk-Signals."
+
+    self subclassResponsibility
+!
+
 startSpyTimer
     "trigger a spyInterrupt, to be signalled after some short (virtual) time.
      Return true, if the spy-timerInterrupt was enabled.