mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
Launch incoming messages as new threads to allow queries to work in an event.
This commit is contained in:
parent
69d0589089
commit
a378dff2f7
2 changed files with 5 additions and 2 deletions
|
|
@ -167,7 +167,9 @@ the default answer. (Private)"
|
||||||
(when *verbose-output*
|
(when *verbose-output*
|
||||||
(format t "Channel ~A Hook ~A Data ~A~%"
|
(format t "Channel ~A Hook ~A Data ~A~%"
|
||||||
id (first em) (second em)))
|
id (first em) (second em)))
|
||||||
(funcall (gethash (first em) (get-connection-data id)) (second em))))
|
(bordeaux-threads:make-thread
|
||||||
|
(lambda ()
|
||||||
|
(funcall (gethash (first em) (get-connection-data id)) (second em))))))
|
||||||
(t
|
(t
|
||||||
(when *verbose-output*
|
(when *verbose-output*
|
||||||
(format t "~A ~A = ~A~%" id (first ml) (second ml)))
|
(format t "~A ~A = ~A~%" id (first ml) (second ml)))
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,8 @@
|
||||||
(incf x)
|
(incf x)
|
||||||
(dotimes (n x)
|
(dotimes (n x)
|
||||||
(create-child body
|
(create-child body
|
||||||
(format nil "<p>Clicked ~A times.</p>" x))))))))
|
(format nil "<p>Clicked ~A times.</p>" x))
|
||||||
|
(scroll-to (window body) 0 (height body))))))))
|
||||||
|
|
||||||
(defun start-tutorial ()
|
(defun start-tutorial ()
|
||||||
"Start turtorial."
|
"Start turtorial."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue