Changeset 5977


Ignore:
Timestamp:
Mar 2, 2007, 4:09:15 AM (18 years ago)
Author:
Gary Byers
Message:

New process class: TTY-LISTENER.

EXIT-INTERACTIVE-PROCESS: for most processes, just PROCESS-KILL. For
TTY-LISTENER, call QUIT.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/level-1/l1-processes.lisp

    r5608 r5977  
    621621
    622622(def-standard-initial-binding *backtrace-contexts* nil)
     623
     624(defmethod exit-interactive-process ((p process))
     625  (unless (eq p *initial-process*)
     626    (when (eq p *current-process*)
     627      (process-kill p))))
     628
     629(defclass tty-listener (process)
     630    ())
     631
     632(defmethod exit-interactive-process ((p tty-listener))
     633  (when (eq p *current-process*)
     634    (quit)))
Note: See TracChangeset for help on using the changeset viewer.