...
- Scope
- Threading in the different programming languages
- ACS Managed Threading in C++
- Duration: 15 minutes
- ACS Threads.pdf
Hands-On Exercise (C++ Only)
...
- Dependency with ACE/TAO spawn / pthread
- Upgrading C++ Threading Technology (std::thread)
- Managed Threading for other languages
Notes
- Initial motivations to implement ACS Threads in C++
- Portability, abstraction for complex interfaces, configuration capabilities
- While them may no longer be concerns:
- Portability: std::thread, boost::thread
- Abstraction for complex interfaces: std::thread, boost::thread
- Configuration capabilities: boost::thread
- There was one concern that is still valid and that ACS Threads take care of naturally:
- Setting up the logger for each created thread
- There was an advantage that the current implementation has:
- Thread Manager resources deallocation on component / container exit
- One alternative would be to design a registration for lifecycle management
- In C++ it should configure the loggers for the thread
- This could also be desirable for other language implementations
{"serverDuration": 68, "requestCorrelationId": "0bc0a433ba8da259"}