OSDN Git Service

libdl: rudimentary locking for dlopen/dlsym/dlclose
authorTimo Teräs <timo.teras@iki.fi>
Thu, 24 Mar 2011 11:27:36 +0000 (13:27 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 22 Dec 2011 09:35:35 +0000 (10:35 +0100)
commitf69319d5a7d3a3ccb46b28ee2b0fd9053c6415ac
treec09749e19cceda755481bf184098ee806ae41c21
parentbc4bc07d931992388822fa301e34718acbec02c9
libdl: rudimentary locking for dlopen/dlsym/dlclose

This implements big-dlfcn lock to allow multithreaded usage of
dlopen/dlsym/dlclose. We should really clean up the dl code so
we can use more fine grained locking or even RCU where appropriate.
But at least we won't crash now.

Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
TODO
ldso/libdl/libdl.c