Changeset 479


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

TOPLEVEL-FUNCTION manages the "shared resource" attached to the
shared terminal-input stream.

File:
1 edited

Legend:

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

    r463 r479  
    316316
    317317 
    318 ;;; Process the "help" option, report parsing errors.
     318;;; Process the "help" and "version" options, report parsing errors.
    319319(defmethod process-application-arguments ((a application) error-flag opts args)
    320320  (declare (ignore args))
     
    435435(defmethod toplevel-function ((a lisp-development-system) init-file)
    436436  (call-next-method)
    437   (let* ((lockptr (recursive-lock-ptr *terminal-input-lock*)))
     437  (let* ((sr (input-stream-shared-resource *terminal-input*)))
    438438    (make-mcl-listener-process
    439439     "listener"
    440440     *terminal-input*
    441441     *terminal-output*
    442      #'(lambda () (%unlock-recursive-lock lockptr))
     442     #'(lambda () (when sr (setf (shared-resource-primary-owner sr)
     443                                 *initial-process*)))
    443444     #'(lambda ()
    444          (%lock-recursive-lock lockptr)
    445445         (setq *interactive-abort-process*
    446446               *current-process*)
     
    448448         (listener-function)
    449449         nil)
    450      nil)
    451     (%unlock-recursive-lock lockptr))
     450     nil))
    452451  (%set-toplevel #'(lambda ()
    453452                     (loop
     
    456455  (toplevel))
    457456
    458 (defmethod application-file-creator ((app lisp-development-system))
    459   *ccl-file-creator*)
     457
    460458
    461459(defmethod application-init-file ((app lisp-development-system))
Note: See TracChangeset for help on using the changeset viewer.