Support UI Thread Separate (UTS) App Model (#464) accepted/tizen/unified/20230627.025434
author조웅석/MDE Lab(SR)/삼성전자 <ws77.cho@samsung.com>
Mon, 26 Jun 2023 04:16:49 +0000 (13:16 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Mon, 26 Jun 2023 04:16:49 +0000 (13:16 +0900)
commite13a51071869d132412452660504c235be058aa5
treea8eac9996c31c265a01137cc9f90bcc387178fb4
parent21fb9cc94d130340384105d4a7e29e43ff6a2bd2
Support UI Thread Separate (UTS) App Model (#464)

define new apptype dotnet-uts for UI Thread Separate App Model

In the UI Thread Separate App Model, the main thread operates with the gmainloop
and UI-related tasks operate with the ecoreloop in a separate thread.
Therefore, ecore_init() should not be called in the main thread of the candidate process
for the UI Thread Separate App Model.
Also, candidate process should run with the gmainloop.

To run by the UI Thread Separate App Model, the environment variable "TIZEN_UI_THREAD" should be set to "true".
If this environment variable is set, then NUI would work on UI Thread Separate Mode.
NativeLauncher/dotnet.launcher
NativeLauncher/dotnet.loader
NativeLauncher/launcher/exec/launcher.cc
NativeLauncher/launcher/exec/loader.cc
NativeLauncher/launcher/lib/core_runtime.cc
NativeLauncher/tool/privilege_common.cc
NativeLauncher/tool/profile_common.cc
packaging/dotnet-launcher.spec