X-Git-Url: http://git.kpe.io/?p=cl-modlisp.git;a=blobdiff_plain;f=variables.lisp;h=a4df081547ef0e7268de409a37500940d516bda9;hp=4e8958a1dc89cc0245a4528818805872528609b9;hb=40b5dce89637f3b90b71ee6ee3932aafa595640b;hpb=4545c194136bd916c6fd240a148804c5cccfec63 diff --git a/variables.lisp b/variables.lisp index 4e8958a..a4df081 100644 --- a/variables.lisp +++ b/variables.lisp @@ -7,17 +7,11 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Dec 2002 ;;;; -;;;; $Id: variables.lisp,v 1.6 2003/07/08 14:00:53 kevin Exp $ +;;;; $Id: variables.lisp,v 1.7 2003/07/08 16:12:03 kevin Exp $ ;;;; ************************************************************************* (in-package #:modlisp) -(defvar *listener-count* 0 - "used to name listeners") - -(defvar *worker-count* 0 - "used to name workers") - (defconstant +default-apache-port+ 20123 "Default port for listen") @@ -28,29 +22,7 @@ (defvar *number-worker-requests* 0) (defvar *close-apache-socket* t) -(defclass listener () - ((port :initarg :port :accessor port) - (function :initarg :function :accessor listener-function - :initform nil) - (function-args :initarg :function-args :accessor function-args - :initform nil) - (process :initarg :process :accessor process) - (socket :initarg :socket :accessor socket) - (workers :initform nil :accessor workers - :documentation "list of worker threads") - (name :initform "" :accessor name :initarg :name) - (wait :initform nil :accessor wait :initarg :wait) - (catch-errors :initform nil :accessor catch-errors :initarg :catch-errors) - (format :initform :text :accessor listener-format :initarg :format))) - -(defvar *active-listeners* nil - "List of active listeners") - -(defclass worker () - ((listener :initarg :listener :accessor listener :initform nil) - (connection :initarg :connection :accessor connection :initform nil) - (name :initarg :name :accessor name :initform nil) - (thread-fun :initarg :thread-fun :accessor thread-fun :initform nil) - (process :initarg :process :accessor process :initform nil))) + +