Add new flag variable for checking state 50/280050/2
authorSuyeon Hwang <stom.hwang@samsung.com>
Tue, 23 Aug 2022 02:30:17 +0000 (11:30 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Tue, 23 Aug 2022 05:02:16 +0000 (14:02 +0900)
commit5c8c344ed22f7bef17ac574b35f652458b02c4ee
tree86c209b991d009a605e06da85d809c10e6db039d
parent7abc4714a47cbdc4f9356735628572dd50948d0f
Add new flag variable for checking state

- Issue:
The engine did not call ttse_main(), but the engine library works like
that ttse_main() was already invoked.

- Solution:
The APIs provided by engine library checks g_is_terminate flag variable
for checking whether ttse_main() is invoked or not. However,
g_is_terminate variable is for checking whether ttse_terminate() is
invoked not for checking ttse_main() invocation. So even if the engine
does not call ttse_main(), the library could not know that ttse_main()
was not invoked yet. Thus, this patch adds new flag variable for
ttse_main() invocation.

Change-Id: I82e1df3abe2f685b19a6cd5a85c84c21d28d9624
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
server/ttse.c