lkml.org 
[lkml]   [2004]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] add wait_event_interruptible_exclusive() macro
    On Tue, Jun 22, 2004 at 05:01:30AM -0700, Chris Wedgwood wrote:
    > Thsi reminds me...
    >
    > I really loath all the preprocessor macros. I know there are plenty
    > of this already, but I don't see the advantage of macros over (static)
    > inline functions which IMO look cleaner and give gcc some change to
    > sanitize what it's looking at without actually having to have it used.
    >
    > Is there a reason why we keep doing this?

    In this case a macro is the only sensible way. Check how the arguments
    are used in wait_event_*

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:04    [W:0.021 / U:61.536 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site