[PATCH] glibc 2.2.94 - hppa - pthreads support

Carlos O'Donell carlos@baldric.uwo.ca
Wed Sep 25 05:39:00 GMT 2002


> 
> > 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.



More information about the Libc-alpha mailing list