Skip to content

Commit

Permalink
added doc-template back; mem.lisp only for sbcl
Browse files Browse the repository at this point in the history
  • Loading branch information
alfons haffmans committed Oct 19, 2010
1 parent a61c637 commit 9ab39e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cl-mongo.asd
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
:depends-on (:uuid
:babel
:bordeaux-threads
;;:documentation-template
:documentation-template
:lisp-unit
:parenscript
:usocket)
Expand Down
4 changes: 2 additions & 2 deletions src/mem.lisp
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
(in-package :cl-mongo)

(defun gen-clean (gen)
#+sbcl(defun gen-clean (gen)
(let ((thr (sb-ext:generation-minimum-age-before-gc gen)))
(setf (sb-ext:generation-minimum-age-before-gc gen) 0.d0)
(sb-ext:gc :gen gen)
(setf (sb-ext:generation-minimum-age-before-gc gen) thr)))


(defun reclaim-memory()
#+sbcl(defun reclaim-memory()
(dotimes (gen 7)
(progn
;;(format t "hello ~A~%" gen)
Expand Down

0 comments on commit 9ab39e2

Please sign in to comment.