[evolution-patches] patch for e-cal-backend



e_cal_backend_open seesm always calling _open method in the backend
irresetive of whehter the backend is already loaded or not. Attached
patch checks the load state of backend and prevents _open method call on
backend if it is already loaded. It addes a mutex ECalBackendPrivate and
uses that in e_cal_backend_open mehtod to take care of simultaneous
e_cal_backend_open mehtod calls on the same backend (these simlutaneous
calls cause problems particulary for backends which connect to server in
_open method as it results multiple login requests to sevrer etc. unless
it is taken care in the backend open method implementation itself )


Thanks,
siva

Attachment: open_mutex.diff
Description: Binary data



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