[squeak-dev] Dependencies on Cursor

Juan Vuletich (mail lists) juanlists at jvuletich.org
Mon Jun 24 17:31:43 UTC 2013


Quoting tim Rowledge <tim at rowledge.org>:

>
> On 24-06-2013, at 7:57 AM, "Juan Vuletich (mail lists)"  
> <juanlists at jvuletich.org> wrote:
>
>> It should work if you use the MT Cog VM, that allows Squeak to  
>> continue running alongside primitives. Never tested it, though.
>
>
> Given that you are deliberately doing things different in Cuis,  
> perhaps you might consider a new prim to do this even without  
> multi-threading support. The Stack/Cog VMs use a heartbeat timer and  
> it would be pretty simple to add a primitiveLongWaitCursor that took  
> a suitable cursor and a time delay, and after said delay, swapped  
> the cursor. The tricky part would be making it cleanly work in the  
> tick interrupt so that long running primitives don't block it.

Yes, good idea. But I'm trying not to modify the VM, and to always use  
the current Squeak VMs. I'm already short of time, and I try to focus  
on the image side of things.

If some kind soul would do it, I'd adopt it for sure.

> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> An algorithm must be seen to be believed.
>

Cheers,
Juan Vuletich



More information about the Squeak-dev mailing list