Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Welcome, Guest. Please login or register.
March 27, 2017, 07:27:49 AM
Home Help Search Login Register
News: ATTENTION: Spambots must die! Humans must visit http://contact.futurescale.com to request forum access.
Pages: [1]
Print
Author Topic: Multi thread via AS3 Workers?  (Read 3953 times)
fsilvestrim
Newbie
*
Posts: 1


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

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: 2860



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

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: 2860



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

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
Quote
"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
Jump to: