From: raster Date: Mon, 19 Mar 2012 06:18:44 +0000 (+0000) Subject: fix up missing LKI/LKD which was still pthread. hurts windows port due X-Git-Tag: submit/trunk/20120815.174732~458 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4340283f288c1106c98a64b9bb3e2197f94cf2c7;p=profile%2Fivi%2Fevas.git fix up missing LKI/LKD which was still pthread. hurts windows port due to using eina_lock there. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@69498 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/engines/common/evas_font_load.c b/src/lib/engines/common/evas_font_load.c index 3fc4521..abba9e3 100644 --- a/src/lib/engines/common/evas_font_load.c +++ b/src/lib/engines/common/evas_font_load.c @@ -71,9 +71,7 @@ _evas_common_font_int_free(RGBA_Font_Int *fi) _evas_common_font_int_clear(fi); eina_hash_free(fi->kerning); -#ifdef HAVE_PTHREAD - pthread_mutex_destroy(&fi->ft_mutex); -#endif + LKD(fi->ft_mutex); #ifdef USE_HARFBUZZ hb_font_destroy(fi->ft.hb_font); #endif @@ -301,9 +299,7 @@ _evas_common_font_int_cache_init(RGBA_Font_Int *fi) EINA_KEY_CMP(_evas_common_font_double_int_cmp), EINA_KEY_HASH(_evas_common_font_double_int_hash), free, 3); -#ifdef HAVE_PTHREAD - pthread_mutex_init(&fi->ft_mutex, NULL); -#endif + LKI(fi->ft_mutex); } EAPI RGBA_Font_Int *