bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sig2str and str2sig use in C++


From: Thien-Thi Nguyen
Subject: Re: sig2str and str2sig use in C++
Date: Wed, 05 Jun 2013 09:17:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

() Daniel J Sebald <address@hidden>
() Tue, 04 Jun 2013 12:35:00 -0500

   > I seem to recall a paper several years back that argued against
   > this approach based on ldso issues.  Drat, can't dredge the
   > details...

   I tried searching the Internet for such issues, but couldn't find
   any. What do you recall as being the loader problem?  The "extern"
   part?  Or use of a null string for termination?

OK, found it.  "How to Write Shared Libraries" by Ulrich Drepper,
version 4.0, section 2.4.3 "Arrays of Data Pointers".  See also the
programs in Appendix B.

I think the problem is (relatively) high constant ldso overhead for a
rarely-used facility.  However, i'm not sure if those concerns are
relevant in this context.  If not, sorry for the noise!

-- 
Thien-Thi Nguyen
GPG key: 4C807502

Attachment: pgp_fS8qnQDOo.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]