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

List:       kmail-devel
Subject:    Re: CIA proposal (was: ClientInterface)
From:       Ingo =?iso-8859-1?q?Kl=F6cker?= <kloecker () kde ! org>
Date:       2003-07-21 23:41:04
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Monday 21 July 2003 13:31, Marc Mutz wrote:
> Step 4: Define a protocol by which a given Kmail instance can obtain
> write access to a given folder/index file.
>
> Sketch of the CIA/4 protocol:
>
> KMail instance A wants to obtain write access to folder F from B:
>
> 1. A tries to create folder-lockfile L_F
>    Success: Write own DCOP id into the lock file.
>             A has now (exclusive) write access to F.
> 2. A tries to read a DCOP ID of B from L_F
>    Success: A sends B the message
>             "Please release folder F"
>             Wait a random amount of time, then goto 1.
>    Failure: Wait a random amount of time, then goto 1.
>    Repeated failure: Tell user.

This doesn't work if A and B are running on different machines accessing=20
the same shared ~/Mail directory.

Regards,
Ingo


[Attachment #5 (application/pgp-signature)]

_______________________________________________
KMail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail


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

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