Send In Time

Jeff Massung massung at gmail.com
Fri Jan 28 12:43:07 CST 2011


I don't know about the "idle" part, but yes, it isn't parallel. It's easy
enough to test... see if helloWorld ever happens:


on mouseUp
    send "myInfiniteLoop" to me in 5 seconds
    send "helloWorld" to me in 10 seconds
end

on myInfiniteLoop
    put "About to hose LC..."
    repeat forever
        # do nothing
    end
end

on helloWorld
    answer "Hello, world!"
end


Jeff M.


On Fri, Jan 28, 2011 at 11:33 AM, Bob Sneidar <bobs at twft.com> wrote:

> So correct me if I am wrong, but send in time is not really a parallel
> process is it? It just means that given a send in time of 5 seconds, that
> after 5 seconds the engine will wait for the first idle message and then
> execute, and while it's executing nothing else can occur till it's finished?
>
> Or do I have that wrong?
>
> Bob
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


More information about the use-livecode mailing list