Gilles Chanteperdrix wrote:
> Jan Kiszka wrote:
> This patch contains too many #ifdefs.
> Things like
> if (xnsynch_fast_owner_check(...))
> #else
> if (xnsynch_owner(...) == ...)
> #endif
> could be replaced with only one macro xnsynch_check_owner in synch.h
> that would be defined with some #ifdefs, and used everywhere without
> #ifdefs.

Yes, that looks like a good idea. Will go through the patch again,
checking for more cleanup possibilities like that.


Attachment: signature.asc
Description: OpenPGP digital signature

Xenomai-core mailing list

Reply via email to