[squeak-dev] DateAndTime>>startUp:

Denis Kudriashov dionisiydk at gmail.com
Thu Jan 27 16:24:10 UTC 2011


Why initializeOffsets executes by fork in startUp method?

startUp: resuming
    resuming ifFalse: [ ^ self ].
    [     self initializeOffsets.] fork


Cuise has this version:

startUp: resuming
    resuming ifFalse: [ ^ self ].
    OffsetsAreValid _ false.
    [
        self initializeOffsets.
        OffsetsAreValid _ true
    ] forkAt: Processor userInterruptPriority.


Why not just

startUp: resuming
    resuming ifFalse: [ ^ self ].
    self initializeOffsets.

?

I have appilcation. And sometimes when I run squeak I have bad dateTime
equal to last saved value.

I cant reproduced it manually.
Can it be due wrong squeak implementation?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20110127/e16698e8/attachment.htm


More information about the Squeak-dev mailing list