mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
Prevent GC using (run body)
This commit is contained in:
parent
68882c1692
commit
d11148bcc9
12 changed files with 48 additions and 9 deletions
|
|
@ -20,7 +20,8 @@
|
|||
(dotimes (n x)
|
||||
(create-child body
|
||||
(format nil "<p>Clicked ~A times.</p>" x))
|
||||
(sleep x)))))))
|
||||
(sleep x)))))
|
||||
(run body)))
|
||||
|
||||
;; Running this version of the last tutorial and clicking quickly on the (click me!)
|
||||
;; will demonstrate an important aspect of CLOG, events can happen in _parallel_.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue