Mike Bonner wrote:
> One very simple concurrency thing I would like to see is an optional
> "to thread with message" type of syntax. This would be similar to
> the way sockets are handled, if something apears in the socket, a
> message is dispatched. For things like long list processing, where
> the app doesn't need to wait for completion (just an example) one
> could "dispatch "doMyList" to thread with message "listDone". It
> would be up to the programmer to decide if it would work for their
> need, though with care, one could selectively disable functionality
> while a thread was active, allowing other parts of the application
> to remain functional.
Any thoughts on how we might managing queue order to avoid race conditions?
> I've already done similar using the load command and a local lcserver
> enabled web server. Divide up a big job into chewable pieces, off
> "Load" them to the webserver, and gather/collate the results as
> they're returned.
How do you communicate between the server and the workers, via files or
sockets or something else?
--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web
____________________________________________________________________
ambassa...@fourthworld.com http://www.FourthWorld.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode