On 7/2/07, Udo Giacomozzi <[EMAIL PROTECTED]> wrote:
Do we still need to be thread-safe when only AS objects are garbage collected? My gut feeling is "yes", so even future changes will be safe.
In current head an assertion would fail if anything but the *main* thread registers a collectable to the GC. You can try by allocationg an as_object in movie_def_impl::read_all_swf, for example. So future changes in this direction will not go unnoticed. Have you read about the tri-color GC? What do you think about it? I'm trying to keep it simple for the moment. Would like to clean up the current code before thinking about improvements. We'd also need to profile it. --strk;
_______________________________________________ Gnash-commit mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash-commit
