preopenstack handler interrupt?
Bob Sneidar
bobs at twft.com
Tue Mar 9 18:55:50 EST 2010
To answer your question, it is my understanding that Revolution, being single threaded, will complete the preopenstack handler before anything else is launched. Otherwise, you could put a breakpoint in the PreOpenCard handler, and every other handler without a breakpoint would get processed while you were debugging the preOpenStack handler. That would be nutz. Obviously this is not the case.
The exception to this is if you use send in time, in which case that call will get handled even if the calling procedure is not finished yet.
Bob
On Mar 9, 2010, at 3:18 PM, Ron wrote:
> Greetings,
>
> I have a mainstack with a preopenstack and openstack handler in the card. In the preopenstack handler there is a call to write out a preference stack from a custom property, then open that stack, read data from that stack and then continue with other operations.
>
> My question is, is the preopenstack handler of the main stack completed before any preopenstack handlers in the preference stack? or does the call to open the preference stack interrupt the main stacks preopenstack handler?
>
> Thanks if you can follow this...
>
> Ron
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list