This is the mail archive of the libc-help@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]

Help on dlmopen()


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

Hi,

I want to load many (upp to 100k units ) instances of the same library.
hte code for oppening library is
	handler = dlmopen( LM_ID_NEWLM ,libname, RTLD_LAZY );
However, I am not able to open more then 14 units before I get error:
"
no more namespaces available for dlmopen(): Invalid argument
"

It may look strange the need for such approach, but there is very good
explanation. Which is also very long one :)

Thank you for helping me!

Laurynas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkwaWWUACgkQIr6SCh3Bo2YsmACfRjSFbxxQOXN7uV3ydVSxeODU
rokAn2CzdG2PcQ2NURqraYRVnklUzmMQ
=rgvI
-----END PGP SIGNATURE-----


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