The only concurrency issues that seem to come up in CF are when we need
to single thread any piece of code - that's what the locks do.  But I
haven't seen any code at all that allows us to start new threads in the
same page.  
As I understand it, C++ is a multi-threaded language.  CFAS is a
multi-threaded application written in C++.  CFML is a single-threaded
language that needs to take into account multiple threads on occasion.  

Please correct me if I'm wrong.

- Matt Small

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

CF is merely an abstraction of a crap load of C++ code.

I agree with you on the process that happens when you define a variable 
in CF.  I don't see how that absolves the programmer of coming up with 
the best way of handling concurrency issues.

Regardless, CF does provide you with many mechanisms of locking 
control.  What really matters is picking the one that suits you, and to 
write code that is in line with the decision you've made.


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

> With respect to this issue, comparing CFML to C++ is apples to 
> oranges.
> I can't expect a low-level language to automatically manage 
> concurrent access
> to shared memory resources, because I have defined the resources 
> and I have
> decided how they are to be accessed and shared.   I can't expect a 
> such system
> to be prescient.
> 
> The situation is different in ColdFusion.  Although I declare and 
> use the
> variables, ColdFusion creates the resources in memory and 
> essentially decides
> how they are to be accessed and shared.  ColdFusion can AND SHOULD 
> manage the
> concurrency issues.
> 
> C++ is not a multi-threaded language.  It's a language capable of 
> producingmulti-threaded applications, such as ColdFusion.
> 
> [EMAIL PROTECTED]
> 
> 
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Monday, March 18, 2002 1:58 PM
> 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.
> 
> 

______________________________________________________________________
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