This chapter describes the ACE wrapper facades that encapsulate OS multithreading mechanisms with portable C++ classes. We apply these ACE threading wrapper facades to illustrate a series of increasingly flexible and efficient enhancements to our networked logging service.
Many networked applications lend themselves naturally to multithreading because processing tasks can be separated from I/O tasks. Multithreading is particularly convenient in servers that manage connection-oriented or connectionless network associations for many clients simultaneously. Today's increasingly powerful OS support for multithreading helps networked applications to:
• Leverage hardware advances, ...