Bug 2955. Workaround for lack of atomic operations in GCCE standard libraries (fall back to default use of Mutex)
local_database is used to generate qlocale data from the Common Locale Data Repository (The database for localized names (like date formats, country names etc)).