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



On Tue, 2004-10-05 at 12:03 +0200, Rodrigo Moya wrote:
> 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

As discussed yesterday in irc, the backends handle this now and are
defined to return success immediately if they are already open.  For a
complete fix the backends need to handle the case where they are in the
process of opening and can queue up responses for a
successful/unsuccessful open.

-JP
-- 
JP Rosevear <jpr novell com>
Novell, Inc.




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