This is the mail archive of the libc-alpha@sources.redhat.com 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: [PATCH] glibc 2.2.94 - hppa - pthreads support


> 
> > diff -urN libc/linuxthreads/oldsemaphore.c libc/linuxthreads/oldsemaphore.c
> > --- libc/linuxthreads/oldsemaphore.c	Wed Nov 14 09:47:09 2001
> > +++ libc/linuxthreads/oldsemaphore.c	Wed Nov 14 09:43:58 2001
> > @@ -73,7 +73,7 @@
> >  	errno = ENOSYS;
> >  	return -1;
> >      }
> > -  sem->sem_spinlock = __LT_SPINLOCK_INIT;
> > +  sem->sem_spinlock = __ATOMIC_LOCK_INIT;
> >    sem->sem_status = ((long)value << 1) + 1;
> >    return 0;
> 
> This part and all that are similar are bogus.
> 
> __LT_SPINLOCK_INIT was introduced explicitly for PA.  EIther you
> misunderstoof this or you're deliberately renaming something.  The
> latter will not happen.  Only the absolute minimum of changes is going in.
> 

Ulrich,

I was unaware of the history or purpose behind the name change.
I shall revert the renaming of __LT_SPINLOCK_INIT.

c.


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