Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Beginners Cgi > Re: FLOCK
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 1399 of 1496
Post > Topic >>

Re: FLOCK

by sdavis2@[EMAIL PROTECTED] (Sean Davis) May 29, 2007 at 04:37 PM

Akbar Ehsan wrote:
> Hello Everyone,
>
> I am attempting to lock a file using FLOCK. I understand the FLOCK is an
> advisory lock and that it does not prevent any other process/program
> from "clobbering" the file even when the lock in on the file.
>
> Is there anything I should look into to apply a lock on a file so that
> it does not get written to when the lock is in place?
>
> Any thoughts or ideas would be appreciated.
>   
I'm not sure what you are trying to do, but you might want to look at 
using a transactional database like mysql or postgresql.

Sean
 




 4 Posts in Topic:
FLOCK
aehsan@[EMAIL PROTECTED]   2007-05-29 16:33:18 
Re: FLOCK
sdavis2@[EMAIL PROTECTED]  2007-05-29 16:37:20 
Re: FLOCK
daggerquill@[EMAIL PROTEC  2007-05-29 17:47:49 
Re: FLOCK
lhernsen1015@[EMAIL PROTE  2007-05-29 18:29:16 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 11:37:07 CST 2008.