I think the tag should be thread safe, the main thing I would check is whether the tag is doing anything with the caller scope, which I assume would be the variables scope of the component, which could lead to race conditions if other instances of the tag or other methods in the CFC are doing anything with that data.
On Mon, Mar 16, 2009 at 10:08 AM, Hugo Ahlenius <[email protected]> wrote: > > Hi, > > I am refactoring an old application of mine, and moving it into my modern > way of structuring my apps - instead of sticking with dirty hacks that has > grown wild from the early days of my life with CFML. > > Anyways - I was hoping I could leave this custom tag as it is, but if a > custom tag is instantiated in a singleton CFC - what happens with thread > safety for variables that are created and used inside that tag? I suspect > that they are not thread safe... > > I guess it is time for cflock? > > -- > Hugo Ahlenius > fraxinus (at-sign) oxel.net > http://www.oxel.net > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CFCDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cfcdev?hl=en -~----------~----~----~----~------~----~------~--~---
