This is the mail archive of the libc-alpha@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: Support for i386 builds of glibc?


From: "Maciej W. Rozycki" <macro@codesourcery.com>
Date: Mon, 4 Mar 2013 20:56:08 +0000

> They could be easily emulated with the aid of global spinlocks, but
> given the decline of the i386 it's probably not worth the effort.

This is a misnomer, you can't use global spinlocks as those are not
signal safe and will deadlock.  Even the glibc testsuite will trigger
such deadlocks.

The only way to do it is to add kernel primitives which provide the
locking facility, and this is what several platforms have done to
handle this situation.


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