The flash.concurrent package contains classes for supporting concurrency (parallel execution) in Flash platform applications. These classes package help you coordinate access to shared resources from code in separate workers. Use these classes when code in multiple workers accesses a shared resource, for example a shareable ByteArray. These classes provide ways to prevent two workers from accessing the shared resource at the same time, which could lead to data corruption or loss.
|Condition||A Condition object is a tool for sharing a resource between workers with the additional capability of pausing execution until a particular condition is satisfied.|
|Mutex||The Mutex (short for "mutual exclusion") class provides a way to make sure that only one set of code operates on a particular block of memory or other shared resource at a time.|
Wed Nov 21 2018, 06:57 AM -08:00