I want to write a multi thread process (on linux) using ACE. What is the difference between using ACE_Task and ACE_thread_t when implementing threads in c++

有帮助吗?

解决方案

ACE_thread_t is really a low level handle. For implementing a multi threaded application using ACE implement a class that you derive from ACE_Task or ACE_Task_Base. See ACE_wrappers/examples/Threads or ACE_wrappers/tests for a lot of examples how to do this.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top