[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: smsd monitoring for new incoming messages not working with latest CV
Re: smsd monitoring for new incoming messages not working with latest CVS version/Nokia 6300
Tue, 14 Jul 2009 21:07:16 +0200 (CEST)
Alpine 2.00 (LSU 1167 2008-08-23)
On Mon, 13 Jul 2009, Daniele Forsi wrote:
> 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.