Mercurial > emacs
changeset 783:59dc833c4e0c
*** empty log message ***
author | Eric S. Raymond <esr@snark.thyrsus.com> |
---|---|
date | Wed, 15 Jul 1992 18:48:42 +0000 |
parents | a6d00bdb2b60 |
children | 6d993c174c62 |
files | lisp/emacs-lisp/tq.el |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/emacs-lisp/tq.el Wed Jul 15 17:54:00 1992 +0000 +++ b/lisp/emacs-lisp/tq.el Wed Jul 15 18:48:42 1992 +0000 @@ -1,18 +1,21 @@ ;;; tq.el --- utility to maintain a transaction queue -;;; Copyright (C) 1992 Scott Draves (spot@cs.cmu.edu) -;;; +;; Author: Scott Draves <spot@cs.cmu.edu> +;; Adapted-By: ESR + +;; Commentary: + ;;; manages receiving a stream asynchronously, ;;; parsing it into transactions, and then calling ;;; handler functions - ;;; Our basic structure is the queue/process/buffer triple. Each entry ;;; of the queue is a regexp/closure/function triple. We buffer ;;; bytes from the process until we see the regexp at the head of the ;;; queue. Then we call the function with the closure and the ;;; collected bytes. +;;; Code: (provide 'tq)