#OTHER
authorClaus Gittinger <cg@exept.de>
Tue, 22 Sep 2015 10:14:24 +0200
changeset 3612 f6e8231f090d
parent 3610 ff9bb66cb62b
child 3613 71819b26b1bd
child 3614 a950d8f8c4ce
#OTHER class: AbstractBackgroundJob class definition added: #initiatingThread #initiatingThread:
AbstractBackgroundJob.st
--- a/AbstractBackgroundJob.st	Fri Sep 04 15:15:57 2015 +0200
+++ b/AbstractBackgroundJob.st	Tue Sep 22 10:14:24 2015 +0200
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 2010 by Jan Vrany, SWING Research Group. CTU in Prague
 	      All Rights Reserved
@@ -30,7 +28,7 @@
 "{ NameSpace: Smalltalk }"
 
 Object subclass:#AbstractBackgroundJob
-	instanceVariableNames:'name job priority thread running isDebuggerJob'
+	instanceVariableNames:'name job priority thread running isDebuggerJob initiatingThread'
 	classVariableNames:''
 	poolDictionaries:''
 	category:'System-Support'
@@ -144,6 +142,14 @@
 
 !AbstractBackgroundJob methodsFor:'accessing'!
 
+initiatingThread
+    ^ initiatingThread
+!
+
+initiatingThread:something
+    initiatingThread := something.
+!
+
 isDebuggerJob
     ^ isDebuggerJob ? false
 !