At Sat, 27 Jan 2007 00:21:15 +0100,
Samuel Thibault wrote:
> > And why do we need all three of `__NAME', `_NAME' and `NAME'?
> 
> __NAME is usually used for letting libpthread be sure to call its own
> functions, while NAME can be overriden by other libraries. I don't know
> for _NAME.

NAME is a static inline which checks if the current invocation takes
the critical path and either performs the critical path functionality
inline or calls _NAME for the non-critical path functionality.
Because it may not be inlined, NAME is also provided as a normal
symbol.

This optimization was in Mark's original code.  I just retained it.

Neal


_______________________________________________
Bug-hurd mailing list
Bug-hurd@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-hurd

Reply via email to