[hunchentoot-devel] Hunchentoot and OpenMCL

Lennart Staflin lstaflin at gmail.com
Fri May 25 11:01:07 UTC 2007


Hi,
I have been using OpenMCL and portable aserve. I ran into some trouble
with character encoding, and after looking at the code decided that it
would be difficult to fix. I am now considering alternatives.

I read somewhere that Hunchentoot runs on OpenMCL so I'm going to try it out.

Any experience with running Hunchentoot on OpenMCL, specially the
bleeding edge OpenMCL?

Any experience converting a project from aserve to Hunchentoot?

Also I ran into a compile problem:

;Compiler warnings :
;   Undefined function CCL::DEQUEUE-TIMER-REQUEST, in INVOKE-WITH-TIMEOUT.
;   Undefined function CCL::ENQUEUE-TIMER-REQUEST, in INVOKE-WITH-TIMEOUT.
;   Undefined function CCL::MAKE-TIMER-REQUEST, in INVOKE-WITH-TIMEOUT.

from port-mcl.lisp:

(defun invoke-with-timeout (seconds bodyfn timeoutfn)
  "Executes the function \(with no arguments) BODY-FN and returns
its results but stops execution after DURATION seconds and then
instead calls TIMEOUT-FN and returns its values."
  ;; from Portable AllegroServe
  (block timeout
    (let* ((timer (ccl::make-timer-request seconds
                                           #'(lambda ()
                                               (return-from timeout
(funcall timeoutfn))))))
      (ccl::enqueue-timer-request timer)
      (unwind-protect (funcall bodyfn)
	(ccl::dequeue-timer-request timer)))))


Probably the timer functions have been removed in some of the later
versions of OpenMCL. Unless someone has a fix already I will dig into
this.


-- 
//Lennart Staflin



More information about the Tbnl-devel mailing list