Skip to content

Commit

Permalink
update generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
chisandrei committed Aug 29, 2024
1 parent fd5188c commit 1d5e897
Showing 1 changed file with 28 additions and 4 deletions.
32 changes: 28 additions & 4 deletions src-gs/gt4gemstone.gs
Original file line number Diff line number Diff line change
Expand Up @@ -1563,13 +1563,13 @@ evaluateAndWaitBlock: aBlock from: anEvaluationServer
If it completes successfully, answer the result.
If an exception is raised, suspend the evaluation process and answer the receiver."

self evaluateBlock: aBlock from: anEvaluationServer.
self evaluateBlock: aBlock from: anEvaluationServer priority: Processor userBackgroundPriority.
^ self waitForEvaluationResult.
%

category: 'actions - api'
method: GtGemStoneEvaluationContext
evaluateBlock: aBlock from: anEvaluationServer
evaluateBlock: aBlock from: anEvaluationServer priority: anInteger
"Start evaluation of the supplied block.
If it completes successfully, result is the return value of aBlock.
If an exception is raised, suspend the evaluation process and set result to the receiver."
Expand Down Expand Up @@ -1598,7 +1598,7 @@ evaluateBlock: aBlock from: anEvaluationServer

process
name: 'GT evaluation';
priority: Processor activeProcess priority + 1;
priority: anInteger;
breakpointLevel: 1;
resume.

Expand Down Expand Up @@ -4013,7 +4013,8 @@ gsStartEvaluate: aString for: anObject bindings: aDictionary serializationStrate
[ | method |
method := aString _compileInContext: receiver symbolList: bindings.
method _executeInContext: receiver ]
from: self.
from: self
priority: Processor userBackgroundPriority - 2
%

category: 'actions'
Expand Down Expand Up @@ -4615,6 +4616,29 @@ asGtRsrProxyObjectForConnection: aRsrConnection
^ GtRsrProxyServiceServer object: self
%

! Class extensions for 'RsrConcurrentTestClient'

! Instance methods for 'RsrConcurrentTestClient'

category: '*GToolkit-GemStone'
method: RsrConcurrentTestClient
startBackgroundFactorialComputation

^ remoteSelf startBackgroundFactorialComputation
%

! Class extensions for 'RsrConcurrentTestServer'

! Instance methods for 'RsrConcurrentTestServer'

category: '*GToolkit-GemStone'
method: RsrConcurrentTestServer
startBackgroundFactorialComputation
stashedProcess := [
5000 timesRepeat: [ 5000 factorial ]
] forkAt: Processor userBackgroundPriority
%

! Class extensions for 'SequenceableCollection'

! Instance methods for 'SequenceableCollection'
Expand Down

0 comments on commit 1d5e897

Please sign in to comment.