[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Request for comments: New address book API
From:       Cornelius Schumacher <schumacher () kde ! org>
Date:       2001-10-14 13:23:06
[Download RAW message or body]

On Sunday 14 October 2001 13:43, Rik Hemsley wrote:
> #if Cornelius Schumacher
>
> > - Locking mechanism to support concurrent access to the address
> > book by multiple processes, including notification on change of
> > addressbook by other process.
>
> Would it be possible to do per-record locking instead, or to
> eliminate locking and just merge changes ?

Per-record locking could be done by splitting up the file and store one 
record per file, but this would also complicate the API. Is this really 
worth it? What are the advantages?

Merging changes can be quite difficult, if different changes have been 
done to the same record. This might not be possible without user 
interaction and even then you need the locking for the time of the 
merge.

-- 
Cornelius Schumacher <schumacher@kde.org>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic