PATCH: Generic function descriptor without lock

Ulrich Drepper drepper@redhat.com
Fri May 2 02:43:00 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

H. J. Lu wrote:
> This patch implements generic function descriptor without lock. It
> works on my ia64 UP machine.

I've applied the patch now.  There was one little race condition left
(if a new fdesc table was created, the first element was unconditionally
used) and I've changed the make_fdesc to never return a NULL pointer.
This really isn't necessary, the following cmpxchg will catch that case.

Thanks,

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+sdr32ijCOnn/RHQRAvo6AJ9YanyZWWdJZXenhkPjrThPAN7X8ACfVwkp
ZsX2x1wQUSUvi6CPQyIfmbo=
=0CpZ
-----END PGP SIGNATURE-----



More information about the Libc-alpha mailing list