comp 243 Distributed Systems
 
Professor:
Don Smith

Description:
Prerequisite, COMP 203. Design and implementation of distributed computing systems and services. Inter-process communication paradigms; naming and name resolution; security and authentication; access control, fault tolerance, and replication in distributed storage systems; models of distributed computing. 

Homework and projects:

Possible final project ideas: Web cahching resources: FREE BSD
 
> A concurrent server must include the following code to avoid creating
> zombie processes in FreeBSD:
>
 #include <signal.h>

 extern void sigchld_hdl(); /* SIGCHLD handler */

 int
 main()
 {
    ...
    signal(SIGCHLD, sigchld_hdl); /*  capture SIGCHLD */
    ...
    /* service loop - spawning processes */
 }

 /*
  *  SIGCHLD handler
  */ 
 void
 sigchld_hdl()
 {
   int e = errno;

   while (waitpid(-1, NULL, WNOHANG) > 0) {}

   errno = e;
 }

> Note that you don't have to preserve errno (in sigchld_hdl) if your
> program is not using that variable.

 top * home * academics
dorian miller, 12/18/2000