* evas: METRIC and WORD cache require stringshare use in thread, so
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 20 Jul 2010 12:07:51 +0000 (12:07 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 20 Jul 2010 12:07:51 +0000 (12:07 +0000)
enable it.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@50378 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/engines/common/evas_pipe.c

index c2eb7cd..1fb2376 100644 (file)
@@ -1851,6 +1851,10 @@ evas_common_pipe_init(void)
                            evas_common_pipe_load, &(task_thinfo[i]));
             pthread_attr_destroy(&attr);
          }
+
+#if defined(METRIC_CACHE) || defined(WORD_CACHE)
+       eina_stringshare_threads_init();
+#endif
      }
    if (thread_num == 1) return EINA_FALSE;
    return EINA_TRUE;