Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig
marten wrote:Assuming, that I want to call an external library function with callbacks to Smalltalk in a headless image - these calls must be done in the UI process - but how is this done in a headless image, where CwAppContext is not available !?
wembley wrote:Marten -
I guess I'm a little confused about what you are trying to do. Are you using the EsEntryPoint function to do the callbacks or EsPostAsyncMessage or ???
mainProcessFlag := true.
...
[self theCodeThatDoesTheWork] fork.
delay := Delay forSeconds: 300.
[mainProcessFlag] whileTrue: [
delay wait.
Processor finalizeCycle.
System scavenge.
].
Return to VA Smalltalk 7.0, 7.5 & 8.0
Users browsing this forum: No registered users and 1 guest