[Properties to be tested]
One, C interface export related
1, overloaded functions.
2, virtual function.
Second, memory-related
1, as directly to C allocated memory write data.
2, c write data directly to as object.
Third, C access as
1. Accessing basic type variables in as
2. Accessing complex type variables in as
3. Accessing function objects in as
Iv. as Access C
V. Multithreading (Pthread and worker)
Adobe's official notes for Pthread:
Http://www.adobe.com/devnet/games/articles/pthreads-flascc.html
One of the words is important:
FLASCC Pthreads is implemented using ActionScript workers. Creation of a Pthread causes the Creation of a AS3 Worker object on which the Pthread start_routine runs. Workers created for Pthread execution automatically share C memory with other Pthreads including the main Pthread. Global and static variables is shared between Pthreads. Therefore, C data-including pointers to scalars, function pointers, and so on-can be safely gkfx between Pthreads. However, AS3 values is not shared between workers and therefore is not generally shareable between Pthreads.
FLASCC Technical Point Record