Re: [PATCH 3/9] sim: Watch for changes to relevant SIM files.

2011-02-18 Thread Andrzej Zaborowski
On 17 February 2011 22:08, Denis Kenzior denk...@gmail.com wrote: On 02/15/2011 01:58 AM, Andrzej Zaborowski wrote: +             ofono_sim_remove_file_watch(sim-context, SIM_EFMSISDN_FILEID); +             ofono_sim_remove_file_watch(sim-context, SIM_EFSDN_FILEID); +            

Re: [PATCH 3/9] sim: Watch for changes to relevant SIM files.

2011-02-17 Thread Denis Kenzior
Hi Andrew, On 02/15/2011 01:58 AM, Andrzej Zaborowski wrote: The watch callbacks are notified when a watched file is changed during a Refresh. Currently in most of the callbacks we free all the information read from the file, and schedule a re-read. I wonder if we need some sort of check if

[PATCH 3/9] sim: Watch for changes to relevant SIM files.

2011-02-15 Thread Andrzej Zaborowski
The watch callbacks are notified when a watched file is changed during a Refresh. Currently in most of the callbacks we free all the information read from the file, and schedule a re-read. I wonder if we need some sort of check if a re-read is already in progress. We may also need to send