[PATCH] elf: Release dl_load_lock before running dlopen constructors (BZ 15686)

Alexander Pevzner pzz@apevzner.com
Mon Jul 13 11:34:42 GMT 2026


Florian,

 > I think if you arrange for suitable sleeps or barriers, you can get a
> second dlopen for the same object on another thread to return while the
> constructor is still executing on a first thread.  This was not possible
> before.
You mean the situation, when two threads dlopen-s the same DSO 
simultaneously, correct?

-- 

	Wishes, Alexander Pevzner (pzz@apevzner.com)


More information about the Libc-alpha mailing list