Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pthread support #3

Closed
JMLX42 opened this issue Jun 30, 2013 · 1 comment
Closed

pthread support #3

JMLX42 opened this issue Jun 30, 2013 · 1 comment
Labels

Comments

@JMLX42
Copy link

JMLX42 commented Jun 30, 2013

Hello,

great project! Open sourcing this is incredible and I hope you'll enjoy what the community will make out of it :)

Anyway, I read that starting at Flash 11.5 the x-compiler will support threading by binding pthreads. Is it working ?

As Flash has workers but no real threads, what are the limitations or does any pthread app. run properly when x-compiled?

Thank you for your help,

@alexmac
Copy link

alexmac commented Jun 30, 2013

Flash has traditional workers (no sharing of AS3 objects) but the contents of ByteArrays can be shared. couple that with some synchronization/CAS primitives (exposed in the flash.concurrent namespace) and Alchemy/FlasCC/Crossbridge fully support everything you can do with pthreads without any limitations or need to modify your code.

Take a look at the examples in the SDK to see some threading: http://www.adobe.com/devnet-docs/flascc/docs/samples.html

@alexmac alexmac closed this as completed Jun 30, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants