Subject: CVS commit: src/lib/libpuffs
To: None <source-changes@NetBSD.org>
From: Antti Kantee <pooka@netbsd.org>
List: source-changes
Date: 05/15/2007 13:44:47
Module Name:	src
Committed By:	pooka
Date:		Tue May 15 13:44:47 UTC 2007

Modified Files:
	src/lib/libpuffs: callcontext.c dispatcher.c framebuf.c puffs.3 puffs.c
	    puffs.h puffs_framebuf.3 puffs_priv.h

Log Message:
Step 3 and currently final step of a more general purpose event loop:
support removal and addition of i/o file descriptors on the fly.

* detect closed file descriptors
* automatically free waiters of a dead file descriptor
* give the file server the possibility to specify a callback which
  notifies of a dead file descriptor
* move loop function to be a property of the mainloop instead of
  framebuf (doesn't change effective behaviour)
* add the possibility to configure a timespec parameter which
  attempts to call the loop function periodically
* move the event loop functions from the puffs_framebuf namespace
  to puffs_framev to differential between pure memory management
  functions


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/lib/libpuffs/callcontext.c
cvs rdiff -r1.2 -r1.3 src/lib/libpuffs/dispatcher.c \
    src/lib/libpuffs/puffs_framebuf.3
cvs rdiff -r1.7 -r1.8 src/lib/libpuffs/framebuf.c
cvs rdiff -r1.22 -r1.23 src/lib/libpuffs/puffs.3
cvs rdiff -r1.45 -r1.46 src/lib/libpuffs/puffs.c
cvs rdiff -r1.55 -r1.56 src/lib/libpuffs/puffs.h
cvs rdiff -r1.9 -r1.10 src/lib/libpuffs/puffs_priv.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.