10.7 Summary

I l @ ve RuBoard

OS platforms offer a variety of synchronization mechanisms for developers of networked applications to use when designing concurrent applications. In addition to the accidental complexities related to portability and API usage shown in previous chapters, synchronization mechanisms present another challenge: they aren't all available on today's operating systems. In this chapter, we showed how to resolve complexities, design synchronization classes that help developers make fewer mistakes, and use existing synchronization mechanisms to emulate missing ones. The result is a set of ACE synchronization wrapper facades that application developers can apply portably and robustly to satisfy many synchronization needs.

The ACE synchronization interfaces adapt the syntactically incompatible native OS synchronization mechanisms to appear uniform from the perspective of other C++ classes. These wrapper facades allow you to synchronize both processes and threads in networked applications. This chapter described the most commonly used ACE object-oriented synchronization wrapper facades. The ACE Web site (http://ace.ece.uci.edu) describes other synchronization wrapper facades that ACE provides.

I l @ ve RuBoard


C++ Network Programming
C++ Network Programming, Volume I: Mastering Complexity with ACE and Patterns
ISBN: 0201604647
EAN: 2147483647
Year: 2001
Pages: 101

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net