scharles at nildram.co.uk
Thu Apr 4 08:56:18 UTC 2002
This has been a long standing 'niggle' with me and I wonder if it has
bothered anybody else or it's my fault! Once I've hit the problem it always
comes back, although non-fatal it is puzzling. Here is a dump of the
situation from the walkback window...
----------- dump -------------
Image version: Squeak3.1beta
latest update: #4478
Current Change Set: MusicSystem
VM version: Squeak3.1alpha of 4 February 2001 [latest update: #3748]
Receiver: an EventSensor
mousePosition: 194 at 275
keyboardBuffer: a SharedQueue
interruptSemaphore: a Semaphore(a Process in
eventQueue: a SharedQueue
inputProcess: a Process in Semaphore>>waitTimeoutMSecs:
inputSemaphore: a Semaphore(a Process in Semaphore>>waitTimeoutMSecs:)
Method (temp) variables:
 in WorldState>>doOneCycleNowFor:
 in Project class>>spawnNewProcess
 in BlockContext>>newProcess
--------------- end --------------
What was I doing? Nothing! It happens as soon as I start my image up. The
problem only seems to start after swimming around a new clean image. Any
I *know why* it went bang and once upon a time I even put an  :ifError
around some code in here...
"Return the next event from the receiver."
ifTrue: [inputSemaphore signal].
EventPollFrequency _ 500.
"since Squeak is taking the event, reset to normal delay"
[ eventQueue isEmpty
ifTrue: [^ nil]
ifFalse: [^ eventQueue next]] ifError: [ ^nil ].
">>>...end my change"
which 'removed' the walkback but I noticed that every time I saved the image
or pretty much did anything else, the cursor kept switching to the 'buy in
background' shape. Any explanationas would be most welcome!
More information about the Squeak-dev