> I'm clear on the fact that CFLOCK and CFFILE are independent
> of one another. Originally, I was hoping there was an outside
> chance that CF might enforce system level file locking when a
> CFFILE operation was contained within a CFLOCK.
The system itself enforces whatever system-level file
functions.
- Original Message -
From: "Jim McAtee" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, January 08, 2002 12:06 PM
Subject: Re: CFLOCK on files
> I'm clear on the fact that CFLOCK and CFFILE are independent of one
anothe
sage -
From: "Billy Cravens" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, January 08, 2002 10:32 AM
Subject: Re: CFLOCK on files
> Note that CFLock is totally indepedent of file locking. CFLock only locks
a
> block of code wi
COM object that uses the Win32 API
to look at the status of the file, and behaves accordingly.
- Original Message -
From: "Chris Norloff" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, January 08, 2002 11:12 AM
Subject: Re: CFLOCK on fil
Force, and a powerful ally it is." - Yoda
> -Original Message-
> From: Jim McAtee [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 08, 2002 11:53 AM
> To: CF-Talk
> Subject: Re: CFLOCK on files
>
>
> Even if you can't explicitly lock a file durin
wouldn't be causing
>problems for that application, or for CF itself.
>
>Jim
>
>
>- Original Message -
>From: "Jochem van Dieten" <[EMAIL PROTECTED]>
>To: "CF-Talk" <[EMAIL PROTECTED]>
>Sent: Monday, January 07, 2002 5:24 PM
>S
that application, or for CF itself.
Jim
- Original Message -
From: "Jochem van Dieten" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, January 07, 2002 5:24 PM
Subject: Re: CFLOCK on files
> Kelly Matthews wrote:
>
> >
>> From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]]
>> Sent: Tuesday, January 08, 2002 12:53 PM
>> To: CF-Talk
>> Subject: RE: CFLOCK on files
>>
>>
>> Chris,
>>
>> I like your explination. Can you clarify - if I use 2 locks
Ah... ok, thanks Ray - I think I get it.
Mark
-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 08, 2002 8:05 AM
To: CF-Talk
Subject: RE: CFLOCK on files
You DO want your names to be unique if they are not the same... thing.
For example, if two
er - CFG [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 08, 2002 12:53 PM
> To: CF-Talk
> Subject: RE: CFLOCK on files
>
>
> Chris,
>
> I like your explination. Can you clarify - if I use 2 locks
> with the same
> name do they work synchronously then? I had always
]]
Sent: Tuesday, January 08, 2002 5:38 AM
To: CF-Talk
Subject: RE: CFLOCK on files
No, cflock isn't limited to locking variables. Yes, cflock is used for mem
ory variables (server, session, application) but remember cflock doesn't "l
ock" anything, it merely coordinates access b
27;t allow you to add a system level lock on a file nor release
a
>lock. Would
>be nice though. :) I could be wrong but I don't think it has that
>capability.
>
>-Original Message-
>From: Jim McAtee [mailto:[EMAIL PROTECTED]]
>Sent: Monday, January 07, 2002 6:33 PM
:[EMAIL PROTECTED]]
Sent: Tuesday, 8 January 2002 1:45 PM
To: CF-Talk
Subject: RE: CFLOCK on files
Remember, though, that you can catch cffile errors with cftry/cfcatch
, and
inform the user that the operation failed and that they should wait a
nd try
again. You can also inform system administrators
create a damage control system for your apps.
> -Original Message-
> From: Jochem van Dieten [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 07, 2002 7:25 PM
> To: CF-Talk
> Subject: Re: CFLOCK on files
>
>
> Kelly Matthews wrote:
>
> > as far as I know it
o: CF-Talk
Subject: Re: CFLOCK on files
Kelly Matthews wrote:
> as far as I know it's not something that can be done. CFLOCK is
> strictly for sessions, etc.
CFLOCK is for single threading CF. Whatever you do inside that single
threaded application is not of CFs concern.
> CFFILE do
Kelly Matthews wrote:
> as far as I know it's not something that can be done. CFLOCK is strictly for
> sessions, etc.
CFLOCK is for single threading CF. Whatever you do inside that single
threaded application is not of CFs concern.
> CFFILE doesn't allow you to add a system level lock on a
-
From: Jim McAtee [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 07, 2002 6:33 PM
To: CF-Talk
Subject: CFLOCK on files
Does CF set an operating system level file lock on files being accessed
within a named CFLOCK? Or is this handled by CFFILE?
Does CF set an operating system level file lock on files being accessed
within a named CFLOCK? Or is this handled by CFFILE? Or at all?
Jim
__
Why Share?
Dedicated Win 2000 Server ยท PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO
18 matches
Mail list logo