SharedQueue issues

John M McIntosh johnmci at smalltalkconsulting.com
Thu Jun 16 21:40:09 UTC 2005


Sure try this piece of code on an image will need to force quit.

| bad bad2 |
bad _ [[Sensor flushNonKbdEvents] repeat] forkAt: Processor  
userBackgroundPriority.
bad2 _ [[Sensor eventQueue peek] repeat] forkAt: Processor  
userBackgroundPriority.

Execute this code above and click around in your image, it should  
dead-lock quite quickly.
Haven't tried my solution to see if it works yet, exercise for the  
reader.

On 16-Jun-05, at 6:55 AM, Chris Muller wrote:

> Are you able to reproduce the deadlock easily?
>
>
>
>

--
======================================================================== 
===
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
======================================================================== 
===




More information about the Squeak-dev mailing list