fork_example.cc


	    

	  

fork_example.cc


	    

	  

              > ./fork_example

              [parent] about to fork..

              [parent] Child process is running!

[child] I'm alive!

              [child] exiting...becoming a zombie.

              [parent] Waiting for child process to finish...

              [parent] Child process is done.

            

searchserver.cc


            

            

          

searchserver.cc


              

              

            

searchserver.cc


              

              

            

forklatency.cc


	    

	  

threadlatency.cc