diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2012-08-27 22:40:53 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2012-08-27 22:55:25 -0400 |
commit | 39d0a94a735abedbfa6ff2b20ab3da1314c84f89 (patch) | |
tree | c39ac6e4dd1be50f76d1606c7ece2702ca3c78a4 /pango/pango-utils.c | |
parent | bb8bf13fea27a77c53e7692dce827e2839216fc6 (diff) | |
download | pango-39d0a94a735abedbfa6ff2b20ab3da1314c84f89.tar.gz |
Make pango-language.c thread-safe
Start marking static-data that is thread safe with the "MT-safe" marker.
The following grep can be used to track progress:
grep 'static[^(]*;' *c | grep -v MT-safe
Diffstat (limited to 'pango/pango-utils.c')
-rw-r--r-- | pango/pango-utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-utils.c b/pango/pango-utils.c index c753683c..8d1255d3 100644 --- a/pango/pango-utils.c +++ b/pango/pango-utils.c @@ -717,7 +717,7 @@ DllMain (HINSTANCE hinstDLL, const char * pango_get_sysconf_subdirectory (void) { - static const gchar *result = NULL; + static const gchar *result = NULL; /* MT-safe */ if (g_once_init_enter ((gsize*)&result)) { @@ -752,7 +752,7 @@ pango_get_sysconf_subdirectory (void) const char * pango_get_lib_subdirectory (void) { - static const gchar *result = NULL; + static const gchar *result = NULL; /* MT-safe */ if (g_once_init_enter ((gsize*)&result)) { |