[Linux-cluster] [PATCH] Get rid of non portable _syscall0

Adam Conrad adconrad at ubuntu.com
Fri Jun 10 17:17:05 UTC 2005


Lon Hohberger wrote:
>
> Ok, so, I'll add a #warn and return pthread_self() for now - since it
> also doesn't fail and returns a thread-specific identifier (which is the
> primary reason we used gettid()...).

Sounds reasonable to me.

>> (many of which don't have _syscall magic macros, and word on the street
>> is that we may not have them on any arches in the future).
>
> That can only be a good thing.

Amen, and preach on.  The more magic numbers we can get rid of, the better.

... Adam





More information about the Linux-cluster mailing list