Operating Systems — Examples

This is a sample of copyrighted materials at the StudyCS web site. This page contains examples of various OS programs and concepts, usually useful for studying operating systems. You can obtain permission for personal use of these materials by sending a request with your name, email address, and the name of your academic institution (if any) to Gary Nutt (nutt@gnutt.com). Once you have explicit permission, you can make one copy of the materials for yourself, and you can read the materials on the web site as much as you want. If you use the material without permission, you are violating the copyright on it.

Copyright © 2007-2008 by Gary Nutt













CONTENTS

  • Program Translation
    • Compilation
    • Linkage Edit
    • Loading
  • I/O Operations
    • File Copy With Double Buffering (Nonblocking Read)
  • Process and Resource Manager
    • Sequential Computation
      • Simple File Copy Program
    • Coroutines
      • File Copy Program Using Coroutines
    • Threads
    • Processes
      • File Copy Using Fork (But Not Exec)
  • File Manager
    • File Descriptors, Unix inode
    • File Descriptors, Internal - Unix Style
    • The DOS File System
    • The Unix File System
  • Network Programming
    • TCP Rendezvous (Establish Connection)
    • Using TCP with Berkeley Sockets
    • Using Berkeley Sockets with Windows