In this chapter, we present the source code for a C++ server that implements the file system we developed in
Chapter 5 (see
Chapter 7 for the corresponding client). The code we present here is fully functional, apart from the required interlocking for threads. (We examine threading issues in detail in
Chapter 27.)