Re: [suse-programming-e] The meaning of atomic in write()
--- Ursprüngliche Nachricht --- Von: Ken Jennings <ken_jennings@bellsouth.net> An: "Verdi March" <cincaipatron@gmx.net> Betreff: Re: [suse-programming-e] The meaning of atomic in write() Datum: Tue, 28 Mar 2006 01:00:49 -0500 Are you sure haha.txt is the file? The code says it opens test.txt for write.
Sorry typo :), should be test.txt. And I rerun it to confirm the result is as what I've described. cincai@verdimar:/tmp> ./a.out; cat test.txt bufsiz=8192 pipe_buf=4096 Parent is process 29077 29077: 1 29077: 2 29077: 3 cincai@verdimar:/tmp> ./a.out; cat test.txt bufsiz=8192 pipe_buf=4096 Parent is process 29082 29083: 1 29083: 2 29083: 3 Parent is process 29082 29082: 1 29082: 2 29082: 3 -- Regards, Verdi -- "Feel free" mit GMX FreeMail! Monat für Monat 10 FreeSMS inklusive! http://www.gmx.net
participants (1)
-
Verdi March