Re: Beagle CPU usage (was Proposed module: tracker)
- From: Alexander Larsson <alexl redhat com>
- To: Hans Petter Jansson <hpj novell com>
- Cc: Federico Mena Quintero <federico ximian com>, Desktop Devel <desktop-devel-list gnome org>, Bastien Nocera <hadess hadess net>, Xavier Bestel <xavier bestel free fr>
- Subject: Re: Beagle CPU usage (was Proposed module: tracker)
- Date: Wed, 28 Mar 2007 16:37:46 +0200
On Tue, 2007-03-27 at 17:13 -0600, Hans Petter Jansson wrote:
> I tend to favor read() on user data:
>
> - For robustness: An mmap() map can become invalid if the file is
> truncated, crashing the process.
Furthermore, read() handles errors (like say a disk i/o error) much more
gracefully.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alla lysator liu se
He's an immortal skateboarding photographer with no name. She's a cold-hearted
snooty bodyguard married to the Mob. They fight crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]