Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: [1]
Print
Author Topic: Multi thread via AS3 Workers?  (Read 10137 times)
fsilvestrim
Newbie
*
Posts: 1


View Profile Email
« on: March 21, 2013, 01:27:00 »

Hello,

I have looked all over the internet and I didn't find a version of the as3 multicore framework that supports multi thread via AS3 Workers and Mutex mechanism.
 
Has somebody seen this?

Thanks in advance
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #1 on: March 21, 2013, 01:38:06 »

Why should a separate version of the framework be required? Seems as if you could create separate multicore modules, and run them as workers. You may have to mediate each worker in the shell. I confess I haven't tried it, but I don't imagine the framework itself has to change.

Feedback?

-=Cliff>
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #2 on: March 21, 2013, 02:08:45 »

Also, since workers are not supported on mobile AIR platforms[1], you wouldn't want the framework tied to them. Otherwise, you'd write an app for web and desktop but then not be able to use it on mobile. While UI's usually change between these platforms, business and domain logic is generally reusable if best practices are followed.

-=Cliff>

1) Worker AS3 Doc
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/Worker.html
"Note: The use of workers for concurrency is only supported in Flash Player and in AIR on desktop platforms. Concurrency is not supported on mobile AIR platforms. You can use the static isSupported property to check whether concurrency is supported before attempting to use it."
Logged
Pages: [1]
Print