[Asterisk-Dev] ASTOBJ update

Brian West brian at bkw.org
Tue Dec 28 07:53:52 MST 2004


> #define ASTOBJ_WRLOCK(object) ast_mutex_lock(&(object)->_lock)
> 
> Why is using this macro better than just calling the function? What kind
> of
> performance gain is seen? Where is it seen?

It cuts down coding errors.

bkw




More information about the asterisk-dev mailing list