Help on dlmopen()

Laurynas Riliskis laurynas.riliskis@ltu.se
Thu Jun 17 17:20:00 GMT 2010


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



More information about the Libc-help mailing list