diff options
Diffstat (limited to 'SDL_Core/doc/doxygen/components/TransportManager/Internal Design/MultiThreading.txt')
-rw-r--r-- | SDL_Core/doc/doxygen/components/TransportManager/Internal Design/MultiThreading.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/SDL_Core/doc/doxygen/components/TransportManager/Internal Design/MultiThreading.txt b/SDL_Core/doc/doxygen/components/TransportManager/Internal Design/MultiThreading.txt new file mode 100644 index 000000000..3588d9d81 --- /dev/null +++ b/SDL_Core/doc/doxygen/components/TransportManager/Internal Design/MultiThreading.txt @@ -0,0 +1,9 @@ +/*! \page components_transportmanager_internal_design_multithreading Multi-Threading in Component + +Internally Transport Manager uses different threads for different operations. This design solution was used to provide efficient asynchronous communication with clients and underlying Device Adapters. + +Transport Manager uses one thread to operate with all device-related callbacks. In other word all callbacks declared in NsAppLink::NsTransportManager::ITransportManagerDeviceListener will be called from that thread. + +For every active connection one service thread will be created. This thread will be used for all connection-related callbacks. Therefore every implementation of NsAppLink::NsTransportManager::ITransportManagerDataListener will be called in separated thread that allows client to support multiple connection simultaneously. + +*/ |