[M108 Aura Migration] Fix crash with memory sanitizer 26/289126/2
authorzhaosy <shiyusy.zhao@samsung.com>
Thu, 2 Mar 2023 02:07:53 +0000 (10:07 +0800)
committerBot Blink <blinkbot@samsung.com>
Thu, 2 Mar 2023 08:45:41 +0000 (08:45 +0000)
commit44021ef1cc9f17d787855258678d924f99e7fd8f
tree35b387fbf265820c88ba6372144edd62273ee625
parent1eff25672826007563a9cdfcc8cf544118ac476c
[M108 Aura Migration] Fix crash with memory sanitizer

With memory sanitizer or some utility, there can be another thread,
which is created for their purpose.

i.e.)
With VD duma, libduma makes an agent thread as static variable
before ZygoteMain() is called.

  efl_webprocess(5483)---{duma_comm}(5497)

Referenece:
https://review.tizen.org/gerrit/#/c/platform/framework/web/chromium-efl/+/252992/

Change-Id: I5da2bf0e8eaa8632790d9f0bcb2b6f426d0f621c
Signed-off-by: zhaosy <shiyusy.zhao@samsung.com>
content/zygote/zygote_main_linux.cc