A bug in write() / pwrite() ?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Hi, When writing to a file -fast enough- from a bunch of threads, I get holes filled with zeros in the output. It's like if the filepointer were being updated properly, but the write()s had wrote nothing. I've got a test case here : http://gist.github.com/703744 Examine the output file and see if you can find any strings of zeroes in it. Is this a race bug in the write() syscall, or is it me missing something ? Thanks, -- Jorge. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Jorge Chamorro