Changeset 483


Ignore:
Timestamp:
Feb 6, 2004, 11:40:35 AM (21 years ago)
Author:
Gary Byers
Message:

Replace *TERMINAL-INPUT-LOCK* with the new shared-resource scheme.

File:
1 edited

Legend:

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

    r83 r483  
    7272(defvar *stdout* ())
    7373(defvar *stderr* ())
    74 (defvar *terminal-input-lock* ())
    7574
    7675;;; The hard parts here have to do with setting up *TERMINAL-IO*.
     
    124123  (setq *trace-output* *standard-output*)
    125124  (push *terminal-output* *auto-flush-streams*)
    126   (let* ((lock (ioblock-inbuf-lock (stream-ioblock *terminal-input*))))
    127     (%lock-recursive-lock (recursive-lock-ptr lock))
    128     (setq *terminal-input-lock* lock)))
     125  (setf (input-stream-shared-resource *terminal-input*)
     126        (make-shared-resource "Shared Terminal Input")))
    129127
    130128
Note: See TracChangeset for help on using the changeset viewer.