e_log: fix data race issue in eina_log 23/299323/2
authorJihoon Kim <jihoon48.kim@samsung.com>
Tue, 26 Sep 2023 01:57:28 +0000 (10:57 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Tue, 26 Sep 2023 05:59:38 +0000 (05:59 +0000)
Change-Id: Ie8f37796f245cbdb045e8a6de4c1e2cf298cde49
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/bin/e_log.c

index 5625262..2bec230 100644 (file)
@@ -171,6 +171,8 @@ e_log_init(void)
 {
    const char *s;
 
+   eina_log_threads_enable();
+
    e_log_dom = eina_log_domain_register("e", EINA_COLOR_WHITE);
    if (e_log_dom < 0)
      {