Changeset 2527

Show
Ignore:
Timestamp:
02/18/08 11:30:00 (9 months ago)
Author:
hhubner
Message:

CCL 1.2 compatibility fix

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/trunk-reorg/thirdparty/hunchentoot-0.15.0/port-mcl.lisp

    r2449 r2527  
    4242  `(ccl::atomic-incf-decf ,place ,delta)) 
    4343 
     44#-openmcl-native-threads 
    4445(defun invoke-with-timeout (seconds bodyfn timeoutfn) 
    4546  "Executes the function \(with no arguments) BODY-FN and returns 
     
    5556        (ccl::dequeue-timer-request timer))))) 
    5657 
     58#-openmcl-native-threads 
    5759(defmacro with-timeout ((seconds &body timeout-forms) &body body) 
    5860  "Executes the code BODY and returns the results of the last 
     
    6365                        #'(lambda () ,@body) 
    6466                        #'(lambda () ,@timeout-forms))) 
     67 
     68#+openmcl-native-threads 
     69(defmacro with-timeout ((seconds &body timeout-forms) &body body) 
     70  "Compatibility stub, CCL with native threads does not support 
     71support asynchronous timeouts." 
     72  (declare (ignore seconds timeout-forms)) 
     73  `(progn 
     74    ,@body)) 
    6575 
    6676(defun process-run-function (name function &rest args)