From: Louis Z. <lou...@li...> - 2004-07-23 09:32:32
|
On Fri, 2004-07-23 at 14:15, Guo, Racing wrote: > - if (did < 1) return SA_ERR_HPI_INVALID_PARAMS; > +#if YOU_LIKE_TO_LOCK_DOMAIN_IN_GET_DOMAIN_FUNCTION > +/*=20 > + In fact, I don't like this way > + I add this block in order to keep compatible with the orignal code > +*/ > + g_mutex_unlock(domain->lock); > +#endif It is not time to keep 'compatibility' now. Pls modify code directly. |