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



On Tue, 2004-10-05 at 14:38 +0530, Sivaiah Nallagatla wrote:
> 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 )
> 
> 
looks good
-- 
Rodrigo Moya <rodrigo novell com>




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