Here the test, showing that setting a priority of preempted process ... first := nil. p1 := [ first ifNil: [ first:= 1] ] forkAt: Processor activePriority - 1....
Igor Stasenko
siguctua@...
May 1, 2009 9:14 am
138189
... Interesting. I thought the module in an FFI function declaration needed to be a literal string. How would you declare it to use MyLibrary instead? - Bert -...
Bert Freudenberg
bert@...
May 1, 2009 9:23 am
138190
Thanks to you all for your help. I will try what you have told me ;) ... -- View this message in context:...
Tom18
geminy95@...
May 1, 2009 9:31 am
138191
... You can unzip the .pr file. There is another .pr file inside. If it starts with 'SPRJ', chop of the signature (first 44 bytes). Then gunzip the rest. You...
Bert Freudenberg
bert@...
May 1, 2009 9:41 am
138192
There are a potential of having incorrect behavior , when terminating a preempted or waiting process: with introduction of ProcessLocalVariable, it is...
Igor Stasenko
siguctua@...
May 1, 2009 9:58 am
138193
Another improvement would be to marry the process termination with exception handling, and nicely signal ProcessTerminatedException. This offers many practical...
Igor Stasenko
siguctua@...
May 1, 2009 10:12 am
138194
... Well, i made some shortcuts, like removing fallback handler and it improved a bit. I checked everything thoughoutly, and since performance degrades ...
Igor Stasenko
siguctua@...
May 1, 2009 10:38 am
138195
I just discovered , that there is no way to add item to startup list to be the first or _before_ specified class. For instance, i can't insert...
Igor Stasenko
siguctua@...
May 1, 2009 12:02 pm
138196
... Awesome, this block with assigning priority together with [^ self] below ... Is there anything being able to disturb (self suspend;resume), non-atomically,...
Klaus D. Witzel
klaus.witzel@...
May 1, 2009 1:38 pm
138197
... The above is not my code. :) ... Well, it would be safer to do it atomically. i.e. : Processor reshedule: self atPriority: priority. which is trivial to do...
Igor Stasenko
siguctua@...
May 1, 2009 2:03 pm
138198
... It's actually saying the right thing. What this code is trying to avoid is that a process waiting on some semaphore (like a network thread) starts "running...
Andreas Raab
andreas.raab@...
May 1, 2009 3:47 pm
138199
... Define it in a subclass of ExternalLibrary. Functions defined in a subclass of ExternalLibrary without a module: string use the moduleName from the time...
Andreas Raab
andreas.raab@...
May 1, 2009 3:57 pm
138200
Hi, I would like to use image segments in 3.9. I need to export a tree of objects to a file and then load the segment into a different image. Thanks -- Brent...
Brent Pinkney
brent@...
May 1, 2009 4:25 pm
138201
... Which is pretty much what VW does, I think. ... Seems like you would just do "ProcessTerminatedException signal" as long as the receiver was the active...
Julian Fitzell
jfitzell@...
May 1, 2009 4:29 pm
138202
... if terminated process is at higher priority and not waiting then it: a) should run now , instead of process which tries to terminate it b) should be...
Igor Stasenko
siguctua@...
May 1, 2009 4:30 pm
138203
Hello Brent, BP> I would like to use image segments in 3.9. BP> I need to export a tree of objects to a file and then load BP> the segment into a different...
Herbert König
herbertkoenig@...
May 1, 2009 4:32 pm
138204
Can I encourage you to submit unit tests for any bugs you find as well so they don't regress even if you end up fixing the problem? Julian...
Julian Fitzell
jfitzell@...
May 1, 2009 4:36 pm
138205
... Actually to illustrate it more precisely replace 'x isNil' to 'procToTerminate isTerminated' ... -- Best regards, Igor Stasenko AKA sig....
Igor Stasenko
siguctua@...
May 1, 2009 4:37 pm
138206
... I'm now almost done implementing it. Its behavior will be different than regular exception handling. What it will do is: 1. find handler context, if any 2....
Igor Stasenko
siguctua@...
May 1, 2009 4:54 pm
138207
... Certainly, i will. ... -- Best regards, Igor Stasenko AKA sig....
Igor Stasenko
siguctua@...
May 1, 2009 5:06 pm
138208
Hi All. anyone have a headless analog to StandardToolSet that sends errors to standard out? I'm starting work on a new image format for Cog and am using John...
Eliot Miranda
eliot.miranda@...
May 1, 2009 6:00 pm
138209
... Thanks, Interestingly there is not mention in this example of ImageSegment or SmartRefStream. Are these classes abandoned ? Brent...
Brent Pinkney
brent@...
May 1, 2009 6:31 pm
138210
... I don't think ReferenceStream makes use of ImageSegments. - Bert -...
Bert Freudenberg
bert@...
May 1, 2009 6:38 pm
138211
... You may take a look for bits in HydraToolSet, which is made headless and redirects error output to log & transcript. ... -- Best regards, Igor Stasenko AKA...
Igor Stasenko
siguctua@...
May 1, 2009 6:43 pm
138212
On 5/1/09 1:23 PM, "Brent Pinkney" <brent@...> wrote:
> Hi,
> > I would like to use image segments in 3.9.
> I need to export a tree of objects to a...
Edgar J. De Cleene
edgardec2001@...
May 1, 2009 7:04 pm
138213
... That's a useful trick, thanks. Have not ever seen it before. - Bert -...
Bert Freudenberg
bert@...
May 1, 2009 8:45 pm
138214
With implementation of TerminateProcess exception, i now solved this issue. sema := Semaphore forMutualExclusion. p := [sema testCritical:[]] forkAt: Processor...
Igor Stasenko
siguctua@...
May 1, 2009 10:31 pm
138215
... Bob simply patches Transcript so that it logs to a file in such a way as should work for all images. Logging, was developed with the intention of replacing...
Keith Hodges
keith_hodges@...
May 1, 2009 10:57 pm
138216
Another glitch: p := [ 1+1 ] forkAt: Processor activePriority - 1. p terminate. self assert: p isTerminated but not after doing: AdvancedProcessorScheduler...
Igor Stasenko
siguctua@...
May 1, 2009 11:04 pm
138217
A new version is available on Mantis: http://bugs.squeak.org/view.php?id=7345 - added an image boot sequence. Now its cleverly picks an appropriate scheduler...