New primitive NEW-MAKE-PIPE does what MAKE-PIPE does but stores its
authorTaylor R. Campbell <net/mumble/campbell>
Wed, 15 Apr 2009 19:30:53 +0000 (19:30 +0000)
committerTaylor R. Campbell <net/mumble/campbell>
Wed, 15 Apr 2009 19:30:53 +0000 (19:30 +0000)
commit3c75e8cfb32014b87866d357875d8c749e4e03df
treefb6c277d91c12dfef84056a76fbd3bd323fa55cc
parentb3ce3a2c08542371663f0c59e3b2f3cfcb5774af
New primitive NEW-MAKE-PIPE does what MAKE-PIPE does but stores its
results in weak pairs so that it can be used with GC finalizers.  Use
this in the runtime's MAKE-PIPE procedure so that interrupts need not
be disabled, and file descriptor exhaustion can trigger garbage
collection which can trigger GC daemons that close files.
v7/src/microcode/prosio.c
v7/src/runtime/io.scm