Kush,

I certainly buy your argument for low level language dealing primitive
constructs, but folks who primarily work with code in terms of access to an
application engine expect  a bit more of a black box chosen solution to low
level processs management. Many folks using CF have never seen the kind of
code your are talking about and and the locking code looks unfriendly to
them :->

Plus - I think that using locking is not the same thing as "Creating
multi-threaded applcations".  Regardless of how you lock, you are not going
to influence how CF actually handles threading - only how how it handles
concurrent access to resources. That being the case, it is an arguable point
that CF (since it is in charge of resource access in any case) should
provide a more seemless mechanism for concurrency - rather than abstracting
everything else and then leaving this one low level detail up to the
developer.

-mk

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002 1:58 PM
To: CF-Talk
Subject: Re: UDF question


Interesting.

Any language that implements locking (read:  any that are worth
programming in) uses some sort of "sloppy" locking mechanism.  Some are
downright evil (read: C++).  Certainly, I can't think of any multi-
threaded languages that handle concurrency automatically.

----- Original Message -----
From: junkMail <[EMAIL PROTECTED]>
Date: Monday, March 18, 2002 12:50 pm
Subject: Re: UDF question

> Gosh, I disagree completely with this.
>
> For me, having my code littered with irrelevant CFLOCKs is sloppy.
>
> I'm comfortable with requiring the server setting.  It's a simple,
> clean,set-and-forget solution.  Obviously, that's not going to
> work for everyone.
> If you can't enable Single Threaded Sessions on your server, then
> you'll need
> to do all the sloppy locking. (smile)
>
> [EMAIL PROTECTED]
>
> ----- Original Message -----
> From: "Raymond Camden" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Monday, March 18, 2002 7:23 AM
> Subject: RE: UDF question
>
>
> > I don't recommend this. (Notice I said "I", not "Macromedia.") In
> > general I feel this leads to sloppy programming, and if you
> migrate and
> > forget to use this setting, you can get in trouble.
>
>

______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to