I am writing a Proof of Concept where the stack interacts with Web Services. I want to stress the Web Service from a single stack with requests.
I'm sort of at a loss as to how to invoke multiple "threads" to the Web Service.
Should I use multiple cards with startup scripts? Or a looping structure with a number of loops specified?
It appears that the "load URL" function executes asynchronously. Am I missing something obvious?
Thank you,
Tom
Multi-threading and LiveCode
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Multi-threading and LiveCode
Hi Tom,
if you mean "non-blocking" by "asynchronously" then that is correct.
Use a repat loop with "load url" then you can check their URLSTATUS later
for each url independently, if that is what you are after.
Best
Klaus
if you mean "non-blocking" by "asynchronously" then that is correct.
Use a repat loop with "load url" then you can check their URLSTATUS later
for each url independently, if that is what you are after.
Best
Klaus