giomodule: make the default_modules mutex recursive
authorDan Winship <danw@gnome.org>
Wed, 12 Oct 2011 17:57:44 +0000 (13:57 -0400)
committerDan Winship <danw@gnome.org>
Wed, 12 Oct 2011 17:57:44 +0000 (13:57 -0400)
commit95cab96515d84a9bc5dd731ea6eee08d7e786f50
tree708dc70ddadbc15622becdab4d8eeae2134e9c44
parent71cf70b39cd3859ac4cb4954c369bda731a61171
giomodule: make the default_modules mutex recursive

It is possible for _g_io_module_get_default() to be called recursively
(eg, if a module of one type is loaded that tries to look up gsettings
from its init() method and ends up causing the gsettings module to be
loaded). So use a recursive mutex.
gio/giomodule.c