[Linux-programlama] interleaving

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Serbulent UNSAL (serbulentunsal@meds.ktu.edu.tr)
Date: Thu 17 Mar 2005 - 17:39:29 EET


Merhaba

Sistem çağrıları ile ilgili bir döküman üzerinde çalışıyorum. Kaynak
dökümanlarımın birinde şöyle bir bölüm var.

fd = creat (“temp”, 0644);
unlink(“temp”);

  - There are two advantages to this technique:

     - If the process aborts, the file is automatically discarded (no
need to catch SIGHUP).

     - The link is removed as soon as unlink is processed (less danger
for interleaving)

burada sözedilen interleaving riski tam olarak nedir ve hangi durumlarda
oluşur ? linkin kaldırılmasının bu risk üzerindeki etkisi nedir ?
Cevaplar için şimdiden teşekkürler.

_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.