[Q] bug-iconv3 and locking functions.
Ulrich Drepper
drepper@redhat.com
Mon Aug 25 09:27:00 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Carlos O'Donell wrote:
> The iconv_open function, through a chain of other function calls relies
> on __libc_lock_* to do all locking. What is the purpose of the above
> testcase?
Just what it says, testing that dynamically loading libpthread works.
> From what I can see, without threading the __libc_lock_*
> functions do nothing,
Wrong. With NPTL they always do something.
> Lastly iconv_open is called again to
> test if it hangs. On hppa it does. Is this indicating that our mutex
> functions are _not_ behaving as expected?
I don't know, and I have no interest to look deep enough into this. If
the test fails, your code is wrong. It works everywhere else.
- --
- --------------. ,-. 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/SdZg2ijCOnn/RHQRAk6tAKDGuQAiW3NStOvWhzoad2XXmWg/qACgv0v5
AHv4cj6BurvJM6+Q7jH72mU=
=5uis
-----END PGP SIGNATURE-----
More information about the Libc-alpha
mailing list