if (__builtin_expect(evp->sigev_notify == SIGEV_THREAD, 1))
AFAIK, __builtin_expect notation is more complicated:

   if (__builtin_expect(!!(evp->sigev_notify == SIGEV_THREAD), 1))
(I don't understand the dirty details).
That is why you should do

   if (likely(evp->sigev_notify == SIGEV_THREAD))

(See "Linux System Programming by Robert Love)

-Michael
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to