This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: pthread_barrier_wait help


On Wed, Aug 14, 2013 at 3:49 PM, Jagadish_gmail <jagadishkotra@gmail.com> wrote:
> Hello,
>
>   I am a graduate student and I am looking for some help with glibc. I am
> working on a project where I am trying to modify pthread_barrier_wait.c()
> code. I see that the hand-optimized pthread_barrier_wait.S (assembler
> version) is currently being used as I am on X86 architecture.
>
> I want my build scripts to use the generic pthread_barrier_wait.c instead of
> the hand-optimized pthread_barrier_wait.S.
>
> Can you please let me know what changes do I need to make to use this c
> version of the code instead of the hand-optimized assembler version ?


Just remove (or rename) the .S version of the code from your source
tree and the build mechanism should fallback to using the generic
version.

Ryan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]