Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AABC79D65 for ; Sat, 24 Mar 2012 19:32:48 +0000 (UTC) Received: (qmail 2511 invoked by uid 500); 24 Mar 2012 19:32:47 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 2472 invoked by uid 500); 24 Mar 2012 19:32:47 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 2464 invoked by uid 99); 24 Mar 2012 19:32:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Mar 2012 19:32:47 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.210.175] (HELO mail-iy0-f175.google.com) (209.85.210.175) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Mar 2012 19:32:43 +0000 Received: by iaag37 with SMTP id g37so6424859iaa.6 for ; Sat, 24 Mar 2012 12:32:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=KBxSgjw+fdzLjX7DqHST1GF8uinUigWjp0aV4ZecbSQ=; b=KH0jKZMKCVWqIpahiZ15AKoIOCHhIFk/tGUTdR8+jvvu7Pozl17Lh/udLAfQAb5ATW XCiS/P9KkhIjThrlk0F6GlFOv8oU+MOM3Qs5CycI1OjV2+hSXLjYPzb3jRl+6kOWsxon Ht2oRrqQegj+e601GQCGHN/Yi4aJ8pVOaDoW8CJVVfKDhTz56v8bK61veCTno7bD3tQf HjjypuE0qvQecnEJJ46hzOcRLa81rAppBfn2Nw2ZrCAdAypsbkVNMxVJ19yohheyheNh UjuiXFETxyhGcSWWtraIQfOK/Bk7kBd9kwbb6TMv0m/BhTnApHhBsM+9+5sG4yx6XyzN 59Cw== MIME-Version: 1.0 Received: by 10.50.45.200 with SMTP id p8mr2098748igm.23.1332617540206; Sat, 24 Mar 2012 12:32:20 -0700 (PDT) Received: by 10.231.32.130 with HTTP; Sat, 24 Mar 2012 12:32:20 -0700 (PDT) In-Reply-To: <4F6E1578.8070606@thedevprocess.com> References: <4F6BB7E0.3030202@thedevprocess.com> <4F6E1578.8070606@thedevprocess.com> Date: Sat, 24 Mar 2012 20:32:20 +0100 Message-ID: Subject: Re: Actionscript workers and async locking? From: Roland Zwaga To: flex-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=14dae93403c51aff4d04bc023333 X-Gm-Message-State: ALoCoQk6rTumQ4RxjELRg8z+xxQDea9N82VFuDY8kmFvYL5sLJAiqqjv/SOnfm//RLpG1u+A3SkB X-Virus-Checked: Checked by ClamAV on apache.org --14dae93403c51aff4d04bc023333 Content-Type: text/plain; charset=ISO-8859-1 On 24 March 2012 19:42, Robert Smith wrote: > Hi Cosma, > > It sounds like you really can't do much about the timing of your bootstrap > if one call is dependent upon the result of your prior call. Even if you > had threads available, you'd be waiting the same amount of time. So, I'm > thinking the best you're going to get at this point is some nice code > organization that is easy to follow. Here are some resources I've found > helpful. > > Cairngorm 3 Task framework - http://sourceforge.net/adobe/** > cairngorm/wiki/**CairngormLibraries/ > PureMVC (framework dependent) - http://trac.puremvc.org/** > Utility_AS3_AsyncCommand > Robotlegs (framework dependent) - http://aaronhardy.com/flex/** > macrobot-macro-commands-for-**robotlegs/ Hey guys, just wanted to add this link to the discussion as well :) http://as3commons.org/as3-commons-async/introduction.html as3commons-async aims to provide a common API for all sorts of asynchronous functionality in actionscript. It would be nice if the Flex framework could try and support a similar approach. Right now its kind of confusing to use AsyncTokens, eventdispatchers, and complete events for all the various types of async behaviour. cheers, Roland --14dae93403c51aff4d04bc023333--