gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: smsd monitoring for new incoming messages not working with latest CV


From: Pawel Kot
Subject: Re: smsd monitoring for new incoming messages not working with latest CVS version/Nokia 6300
Date: Tue, 14 Jul 2009 21:14:57 +0200

On Tue, Jul 14, 2009 at 21:07, Jan Derfinak<address@hidden> wrote:
> On Mon, 13 Jul 2009, Daniele Forsi wrote:
>
> Hi.
>
>> 2009/7/13 Pawel Kot:
>>
>> > Driver should call map_del() from delete function. I thought it was there.
>>
>> map_del() isn't used, but if used a command like "gnokii --deletesms 1
>> end" and also smsd would need to reget the SMS list each time a
>> message is deleted? I understand that most of the time smsd will have
>
> Smsd reads all sms's to memory in one thread then another thread inserts
> messages do DB and creates events for deleting them from phone. Reading and
> deleting are exclusive operations. Reading must complete and thread leaves
> lock and then another thread start to execute events in queue. The position
> used for deleting is saved when message is downloaded from phone.
> So if map_del() doesn't change sms positions for deleting, this will not hurt
> smsd. I hope.

Well, due to the reason that Series 40 does some inconsistent memory
numbering, for each operation as read or delete we get the full list
of the real locations. And that causes the problem. Right now I think
that we should have different API for that.

take care,
-- 
Pawel Kot




reply via email to

[Prev in Thread] Current Thread [Next in Thread]