Is Multi Threading Possible

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
billborric
Posts: 2
Joined: Fri Aug 21, 2009 12:22 am

Is Multi Threading Possible

Post by billborric » Fri Aug 21, 2009 1:12 am

Hi,

I have been a long time Foxpro user (since Fox v1), but now need multi OS solutions and multi threading.

Both of which Fox cannot do.

Can Rev handle multi threading?

Thanks

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Post by mwieder » Fri Aug 21, 2009 1:54 am

No, but maybe there are other solutions to what you want to do. For instance the "send message in time" syntax may serve the purpose for you. Can you give us a clue as to a situation that needs multithreading?

billborric
Posts: 2
Joined: Fri Aug 21, 2009 12:22 am

Post by billborric » Fri Aug 21, 2009 10:17 pm

Thanks for the reply.

I need to get information from 4 different sites (3 x TAB plus Betfair) on the WEB. This info is refreshed every 20 seconds.

I can't afford the time of a single process going to each site. Speed of results is paramount.

Mark Smith
Posts: 179
Joined: Sat Apr 08, 2006 11:08 pm
Contact:

Post by Mark Smith » Sat Aug 22, 2009 12:40 am

You might like to have a look at my curl library (libRevCurl) - it opens a new (non-blocking) curl process for each request, and so can make parallel requests. If you're on windows, you'll need to install curl to use it.

http://futsoft.futilism.com/revolutionstuff.html

I'd be happy to answer any questions you might have about it.

Best,

Mark Smith

Post Reply