454
|
1 |
"
|
2107
|
2 |
COPYRIGHT (c) 1997 by eXept Software AG
|
|
3 |
All Rights Reserved
|
454
|
4 |
|
|
5 |
This software is furnished under a license and may be used
|
|
6 |
only in accordance with the terms of that license and with the
|
|
7 |
inclusion of the above copyright notice. This software may not
|
|
8 |
be provided or otherwise made available to, or used by, any
|
|
9 |
other person. No title to or ownership of the software is
|
|
10 |
hereby transferred.
|
2107
|
11 |
"
|
454
|
12 |
|
|
13 |
|
713
|
14 |
"{ Package: 'stx:libjava' }"
|
|
15 |
|
56
|
16 |
Process subclass:#JavaProcess
|
|
17 |
instanceVariableNames:'suspendedContext'
|
|
18 |
classVariableNames:''
|
|
19 |
poolDictionaries:''
|
713
|
20 |
category:'Languages-Java-Classes'
|
56
|
21 |
!
|
|
22 |
|
454
|
23 |
!JavaProcess class methodsFor:'documentation'!
|
|
24 |
|
|
25 |
copyright
|
|
26 |
"
|
2107
|
27 |
COPYRIGHT (c) 1997 by eXept Software AG
|
|
28 |
All Rights Reserved
|
454
|
29 |
|
|
30 |
This software is furnished under a license and may be used
|
|
31 |
only in accordance with the terms of that license and with the
|
|
32 |
inclusion of the above copyright notice. This software may not
|
|
33 |
be provided or otherwise made available to, or used by, any
|
|
34 |
other person. No title to or ownership of the software is
|
|
35 |
hereby transferred.
|
2107
|
36 |
"
|
749
|
37 |
|
454
|
38 |
! !
|
56
|
39 |
|
58
|
40 |
!JavaProcess methodsFor:'accessing'!
|
|
41 |
|
|
42 |
suspendedContext
|
261
|
43 |
|con|
|
|
44 |
|
313
|
45 |
"/ suspendedContext notNil ifTrue:[^ suspendedContext].
|
|
46 |
"/ state ~~ #debug ifTrue:[
|
|
47 |
"/ "/ hide non-JAVA contexts ...
|
|
48 |
"/ con := super suspendedContext.
|
|
49 |
"/ [con notNil] whileTrue:[
|
|
50 |
"/ (con isMemberOf:JavaContext) ifTrue:[^ con].
|
|
51 |
"/ con := con sender.
|
|
52 |
"/ ].
|
|
53 |
"/ ].
|
261
|
54 |
^ super suspendedContext
|
58
|
55 |
|
261
|
56 |
"Created: / 7.5.1996 / 09:02:03 / cg"
|
313
|
57 |
"Modified: / 4.2.1998 / 20:44:31 / cg"
|
58
|
58 |
!
|
|
59 |
|
|
60 |
suspendedContext:aContext
|
|
61 |
suspendedContext := aContext
|
|
62 |
|
|
63 |
"Created: 7.5.1996 / 09:02:12 / cg"
|
|
64 |
! !
|
|
65 |
|
221
|
66 |
!JavaProcess methodsFor:'interrupts'!
|
|
67 |
|
|
68 |
clearInterruptActions
|
|
69 |
interruptActions := nil
|
|
70 |
|
|
71 |
"Created: 14.8.1997 / 17:27:22 / cg"
|
|
72 |
!
|
|
73 |
|
|
74 |
isInterrupted
|
|
75 |
^ interruptActions notNil
|
|
76 |
|
|
77 |
"Created: 14.8.1997 / 17:26:40 / cg"
|
338
|
78 |
!
|
|
79 |
|
|
80 |
markInterrupted
|
|
81 |
super interruptWith:[]
|
|
82 |
|
|
83 |
"Modified: / 10.4.1998 / 15:20:58 / cg"
|
|
84 |
"Created: / 10.4.1998 / 15:21:15 / cg"
|
221
|
85 |
! !
|
|
86 |
|
133
|
87 |
!JavaProcess class methodsFor:'documentation'!
|
56
|
88 |
|
|
89 |
version
|
2107
|
90 |
^ '$Header: /cvs/stx/stx/libjava/JavaProcess.st,v 1.14 2002-11-22 20:09:21 cg Exp $'
|
|
91 |
! !
|