Fixed network client to trigger main thread 92/297992/1
authorDavid Steele <david.steele@samsung.com>
Thu, 24 Aug 2023 16:15:32 +0000 (17:15 +0100)
committerDavid Steele <david.steele@samsung.com>
Tue, 29 Aug 2023 15:22:08 +0000 (16:22 +0100)
commite2f753364e8d1dfe3011ecd7ed9c73a9f1e87e88
treea2c21fa5e0ea7ccfd66e0ca4e1d23dbb27c456be
parentdd8988f2f06f6114924f69dc0796f2547e6f7ccd
Fixed network client to trigger main thread

Main thread Trigger should be created on the event
thread, not in client threads.

Caused problems with the trigger implementation, as that stored
main loop context in thread local storage, so was always 0 / NULL,
and this caused the network client to crash or do nothing,
depending on the chosen main loop implementation.

Change-Id: I483cb1dc55b1ff4f6cf81434780bcd560f2f57a9
Signed-off-by: David Steele <david.steele@samsung.com>
dali/internal/network/common/client-send-data-interface.h
dali/internal/network/common/network-performance-client.cpp
dali/internal/network/common/network-performance-server.cpp
dali/internal/network/common/network-performance-server.h