Duplicate simultaneous calls to same handler

Mark Wieder mwieder at ahsoftware.net
Fri Jan 23 00:45:41 EST 2015


Jacque-

Thursday, January 22, 2015, 7:26:16 PM, you wrote:

> Does the engine queue the second call until the long handler finishes,

Every "wait with messages" call will yield time to the system to allow
other tasks to continue.

> and then send the message from the second call (serial responses)?

> Or does the engine run two instances of the long handler simultaneously?
> If so, what happens to the values of the variables?

Google idempotent.

> Or something else?

> I've never allowed this to happen before but I find myself in a position
> where simultaneous calls would be the best way to handle things.

Well, you won't get simultaneous without threading, but yielding to
messages is as close as we're gonna get.

-- 
-Mark Wieder
 ahsoftware at gmail.com

This communication may be unlawfully collected and stored by the National 
Security Agency (NSA) in secret. The parties to this email do not 
consent to the retrieving or storing of this communication and any 
related metadata, as well as printing, copying, re-transmitting, 
disseminating, or otherwise using it. If you believe you have received 
this communication in error, please delete it immediately.





More information about the use-livecode mailing list