Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wighawag/VirtualThread
Green Thread implementation in actionscript
https://github.com/wighawag/VirtualThread
Last synced: about 2 months ago
JSON representation
Green Thread implementation in actionscript
- Host: GitHub
- URL: https://github.com/wighawag/VirtualThread
- Owner: wighawag
- Created: 2011-06-05T20:20:18.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-06-05T20:21:34.000Z (over 13 years ago)
- Last Synced: 2024-08-03T05:05:30.708Z (5 months ago)
- Language: ActionScript
- Homepage:
- Size: 113 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-actionscript-sorted - VirtualThread - Green Thread implementation in actionscript (Unsorted / Other API)
README
## VirtualThread ##
A library to use run cod ein the background (trying to use any cpu resource available)
Code mainly taken from [greenthread](http://code.google.com/p/greenthreads/) with the IRunnable interface from [as3-commons concurrency](http://www.as3commons.org/as3-commons-concurrency/index.html).
The main change from greenthread is the use of As3-signals and the necesity to instantiate the ThreadProcessor. no more Singleton.
The need for ThreadProcessor in the first place is because to be able to use as much resource the code need to know the stage framerate.### USAGE ###
look at Main.as and RunnableTest.as
#### COMPILE ####
need submodule : https://github.com/robertpenner/as3-signals.git
just execute :
git submodule update