File locking

Christos Ricudis ricudis at paiko.gr
Thu Aug 26 19:05:09 EEST 1999


Hello Linux-greek-users!

  On 26 Aug 99, Linux-greek-users wrote to All with subject "File locking":

 L> H function flock() parexei advisory lock enos arxeiou. Dystyxws
 L> den mporesa na brw tropo na pw stin open() na elegxei gia kapoio 
 L> lock (i stin remove()), ara einai praktika axristo? (efoson 
 L> advisory kai oxi ypoxrewtiko)

1) Kaleis thn open() kai meta th flock()

2) Xrhsimopoieis mandatory locking (mono se osa systhmata to yposthrizoyn
(linux p.x)). 

3) Xrhsimopoieis thn open me (O_CREAT|O_EXCL)

4) Trabas ta mallia soy mia kai tipote apo ayta de douleyei panw apo NFS. 

5) Telika, xrhsimopoieis lock files. 

--
Christos Ricudis
I am a target. Please bomb me at N40 33.765' E22 55.130' Alt. 69ft
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr/archives
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users at hellug.gr
====================================================================



More information about the Linux-greek-users mailing list