author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Tue, 18 Jun 2019 11:04:46 +0100 | |
changeset 193 | 2aa0074479d9 |
parent 143 | 883c830472cb |
child 223 | 5ba4abfcb7e7 |
permissions | -rw-r--r-- |
91
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
1 |
" |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
2 |
jv:libgdbs - GNU Debugger Interface Library |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
3 |
Copyright (C) 2015-now Jan Vrany |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
4 |
|
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
5 |
This library is free software; you can redistribute it and/or |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
6 |
modify it under the terms of the GNU Lesser General Public |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
7 |
License as published by the Free Software Foundation; either |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
8 |
version 2.1 of the License. |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
9 |
|
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
10 |
This library is distributed in the hope that it will be useful, |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
13 |
Lesser General Public License for more details. |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
14 |
|
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
15 |
You should have received a copy of the GNU Lesser General Public |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
16 |
License along with this library; if not, write to the Free Software |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
17 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
18 |
" |
41
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
19 |
"{ Package: 'jv:libgdbs' }" |
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
20 |
|
68
633494860f35
Fix in transient data holder: remember the last sequence number
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
41
diff
changeset
|
21 |
"{ NameSpace: Smalltalk }" |
633494860f35
Fix in transient data holder: remember the last sequence number
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
41
diff
changeset
|
22 |
|
41
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
23 |
Object subclass:#GDBTransientDataHolder |
140
c5958ead82b5
Make `GDBransientDataHoolder >> value` synchronized
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
103
diff
changeset
|
24 |
instanceVariableNames:'debugger factory value seqno lock' |
98
547ee8755f45
Added `GDBTransientDataHolder >> value:` to allow pre-setting the data
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
25 |
classVariableNames:'InvalidValue' |
41
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
26 |
poolDictionaries:'' |
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
27 |
category:'GDB-Private' |
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
28 |
! |
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
29 |
|
91
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
30 |
!GDBTransientDataHolder class methodsFor:'documentation'! |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
31 |
|
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
32 |
copyright |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
33 |
" |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
34 |
jv:libgdbs - GNU Debugger Interface Library |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
35 |
Copyright (C) 2015-now Jan Vrany |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
36 |
|
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
37 |
This library is free software; you can redistribute it and/or |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
38 |
modify it under the terms of the GNU Lesser General Public |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
39 |
License as published by the Free Software Foundation; either |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
40 |
version 2.1 of the License. |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
41 |
|
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
42 |
This library is distributed in the hope that it will be useful, |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
43 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
44 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
45 |
Lesser General Public License for more details. |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
46 |
|
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
47 |
You should have received a copy of the GNU Lesser General Public |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
48 |
License along with this library; if not, write to the Free Software |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
49 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
50 |
" |
472a4841a8b6
License this package under 'GNU Lesser General Public License'
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
68
diff
changeset
|
51 |
! ! |
68
633494860f35
Fix in transient data holder: remember the last sequence number
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
41
diff
changeset
|
52 |
|
98
547ee8755f45
Added `GDBTransientDataHolder >> value:` to allow pre-setting the data
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
53 |
!GDBTransientDataHolder class methodsFor:'initialization'! |
547ee8755f45
Added `GDBTransientDataHolder >> value:` to allow pre-setting the data
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
54 |
|
547ee8755f45
Added `GDBTransientDataHolder >> value:` to allow pre-setting the data
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
55 |
initialize |
547ee8755f45
Added `GDBTransientDataHolder >> value:` to allow pre-setting the data
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
56 |
"Invoked at system start or when the class is dynamically loaded." |
547ee8755f45
Added `GDBTransientDataHolder >> value:` to allow pre-setting the data
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
57 |
|
547ee8755f45
Added `GDBTransientDataHolder >> value:` to allow pre-setting the data
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
58 |
"/ please change as required (and remove this comment) |
547ee8755f45
Added `GDBTransientDataHolder >> value:` to allow pre-setting the data
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
59 |
|
547ee8755f45
Added `GDBTransientDataHolder >> value:` to allow pre-setting the data
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
60 |
InvalidValue := Object new |
547ee8755f45
Added `GDBTransientDataHolder >> value:` to allow pre-setting the data
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
61 |
|
547ee8755f45
Added `GDBTransientDataHolder >> value:` to allow pre-setting the data
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
62 |
"Modified: / 29-01-2018 / 23:58:57 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
547ee8755f45
Added `GDBTransientDataHolder >> value:` to allow pre-setting the data
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
63 |
! ! |
547ee8755f45
Added `GDBTransientDataHolder >> value:` to allow pre-setting the data
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
64 |
|
41
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
65 |
!GDBTransientDataHolder class methodsFor:'instance creation'! |
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
66 |
|
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
67 |
debugger: aGDBDebugger factory: aBlock |
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
68 |
^ self new setDebugger: aGDBDebugger factory: aBlock |
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
69 |
|
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
70 |
"Created: / 17-09-2014 / 22:08:22 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
71 |
! ! |
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
72 |
|
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
73 |
!GDBTransientDataHolder methodsFor:'accessing'! |
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
74 |
|
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
75 |
value |
103
56bf65352505
Variable objects: preserve the identity of `GDBFrame` and `GDBVariable` objects
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
98
diff
changeset
|
76 |
| token old new | |
98
547ee8755f45
Added `GDBTransientDataHolder >> value:` to allow pre-setting the data
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
77 |
(value ~~ InvalidValue and:[debugger currentInferiorStateSequnceNumber == seqno]) ifTrue:[ |
41
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
78 |
^ value. |
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
79 |
]. |
103
56bf65352505
Variable objects: preserve the identity of `GDBFrame` and `GDBVariable` objects
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
98
diff
changeset
|
80 |
old := value == InvalidValue ifTrue:[ nil ] ifFalse:[ value ]. |
140
c5958ead82b5
Make `GDBransientDataHoolder >> value` synchronized
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
103
diff
changeset
|
81 |
lock critical:[ |
143
883c830472cb
Fixed synchronization bug in `GDBTransientDataHolder`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
140
diff
changeset
|
82 |
(value ~~ InvalidValue and:[debugger currentInferiorStateSequnceNumber == seqno]) ifFalse:[ |
883c830472cb
Fixed synchronization bug in `GDBTransientDataHolder`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
140
diff
changeset
|
83 |
value := token := Object new. |
883c830472cb
Fixed synchronization bug in `GDBTransientDataHolder`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
140
diff
changeset
|
84 |
new := factory valueWithOptionalArgument: old. |
883c830472cb
Fixed synchronization bug in `GDBTransientDataHolder`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
140
diff
changeset
|
85 |
value == token ifTrue:[ |
883c830472cb
Fixed synchronization bug in `GDBTransientDataHolder`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
140
diff
changeset
|
86 |
self value: new. |
883c830472cb
Fixed synchronization bug in `GDBTransientDataHolder`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
140
diff
changeset
|
87 |
]. |
140
c5958ead82b5
Make `GDBransientDataHoolder >> value` synchronized
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
103
diff
changeset
|
88 |
]. |
98
547ee8755f45
Added `GDBTransientDataHolder >> value:` to allow pre-setting the data
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
89 |
]. |
41
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
90 |
^ value |
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
91 |
|
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
92 |
"Created: / 17-09-2014 / 22:06:58 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
143
883c830472cb
Fixed synchronization bug in `GDBTransientDataHolder`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
140
diff
changeset
|
93 |
"Modified: / 26-09-2018 / 13:10:48 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
98
547ee8755f45
Added `GDBTransientDataHolder >> value:` to allow pre-setting the data
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
94 |
! |
547ee8755f45
Added `GDBTransientDataHolder >> value:` to allow pre-setting the data
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
95 |
|
547ee8755f45
Added `GDBTransientDataHolder >> value:` to allow pre-setting the data
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
96 |
value: anObject |
547ee8755f45
Added `GDBTransientDataHolder >> value:` to allow pre-setting the data
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
97 |
value := anObject. |
547ee8755f45
Added `GDBTransientDataHolder >> value:` to allow pre-setting the data
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
98 |
seqno := debugger currentInferiorStateSequnceNumber. |
547ee8755f45
Added `GDBTransientDataHolder >> value:` to allow pre-setting the data
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
99 |
|
547ee8755f45
Added `GDBTransientDataHolder >> value:` to allow pre-setting the data
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
100 |
"Created: / 30-01-2018 / 00:05:06 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
547ee8755f45
Added `GDBTransientDataHolder >> value:` to allow pre-setting the data
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
101 |
"Modified: / 30-01-2018 / 09:06:48 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
41
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
102 |
! ! |
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
103 |
|
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
104 |
!GDBTransientDataHolder methodsFor:'initialization'! |
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
105 |
|
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
106 |
setDebugger: aGDBDebugger factory: aBlock |
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
107 |
debugger := aGDBDebugger. |
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
108 |
factory := aBlock. |
140
c5958ead82b5
Make `GDBransientDataHoolder >> value` synchronized
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
103
diff
changeset
|
109 |
value := InvalidValue. |
c5958ead82b5
Make `GDBransientDataHoolder >> value` synchronized
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
103
diff
changeset
|
110 |
lock := RecursionLock new. |
41
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
111 |
|
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
112 |
"Created: / 17-09-2014 / 22:08:47 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
140
c5958ead82b5
Make `GDBransientDataHoolder >> value` synchronized
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
103
diff
changeset
|
113 |
"Modified: / 08-09-2018 / 15:40:30 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
41
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
114 |
! ! |
fb48207b6104
Fixes in thread's stack mangement. Dispatch events to applications using their UI event loop.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
115 |
|
68
633494860f35
Fix in transient data holder: remember the last sequence number
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
41
diff
changeset
|
116 |
!GDBTransientDataHolder class methodsFor:'documentation'! |
633494860f35
Fix in transient data holder: remember the last sequence number
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
41
diff
changeset
|
117 |
|
633494860f35
Fix in transient data holder: remember the last sequence number
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
41
diff
changeset
|
118 |
version_HG |
633494860f35
Fix in transient data holder: remember the last sequence number
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
41
diff
changeset
|
119 |
|
633494860f35
Fix in transient data holder: remember the last sequence number
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
41
diff
changeset
|
120 |
^ '$Changeset: <not expanded> $' |
633494860f35
Fix in transient data holder: remember the last sequence number
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
41
diff
changeset
|
121 |
! ! |
633494860f35
Fix in transient data holder: remember the last sequence number
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
41
diff
changeset
|
122 |
|
98
547ee8755f45
Added `GDBTransientDataHolder >> value:` to allow pre-setting the data
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
123 |
|
547ee8755f45
Added `GDBTransientDataHolder >> value:` to allow pre-setting the data
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
91
diff
changeset
|
124 |
GDBTransientDataHolder initialize! |