RE: CFLOCK on files

2002-01-08 Thread Dave Watts
> 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

Re: CFLOCK on files

2002-01-08 Thread Billy Cravens
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

Re: CFLOCK on files

2002-01-08 Thread Jim McAtee
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

Re: CFLOCK on files

2002-01-08 Thread Billy Cravens
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

RE: CFLOCK on files

2002-01-08 Thread Raymond Camden
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

Re: CFLOCK on files

2002-01-08 Thread Chris Norloff
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

Re: CFLOCK on files

2002-01-08 Thread Jim McAtee
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: > > >

RE: CFLOCK on files

2002-01-08 Thread Chris Norloff
>> 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

RE: CFLOCK on files

2002-01-08 Thread Mark A . Kruger - CFG
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

RE: CFLOCK on files

2002-01-08 Thread Raymond Camden
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

RE: CFLOCK on files

2002-01-08 Thread Mark A . Kruger - CFG
]] 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

RE: CFLOCK on files

2002-01-08 Thread Chris Norloff
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

RE: CFLOCK on files

2002-01-08 Thread Andrew Scott
:[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

RE: CFLOCK on files

2002-01-07 Thread Andrew Tyrone
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

RE: CFLOCK on files

2002-01-07 Thread stas
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

Re: CFLOCK on files

2002-01-07 Thread Jochem van Dieten
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

RE: CFLOCK on files

2002-01-07 Thread Kelly Matthews
- 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?

CFLOCK on files

2002-01-07 Thread Jim McAtee
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