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: [Q] bug-iconv3 and locking functions.


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


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