Liking cljdoc? Tell your friends :D

tech.resource.gc


*reference-queue*clj

source

*reference-thread*clj

source

*weak-reference-set*clj

source

start-reference-threadclj

(start-reference-thread)
source

stop-reference-threadclj

(stop-reference-thread)
source

trackclj

(track item dispose-fn)

Track an item via both the gc system and the stack based system. Dispose will be first-one-wins. Dispose-fn must not referent item else the circular dependency will stop the dispose-fn from being called.

Track an item via both the gc system *and* the stack based system.  Dispose will be
first-one-wins.  Dispose-fn must not referent item else the circular dependency will
stop the dispose-fn from being called.
sourceraw docstring

track-gc-onlyclj

(track-gc-only item dispose-fn)

Track this item using weak references. Note that the dispose-fn must absolutely not reference the item else nothing will ever get released.

Track this item using weak references.  Note that the dispose-fn must absolutely
*not* reference the item else nothing will ever get released.
sourceraw docstring

watch-reference-queueclj

(watch-reference-queue run-atom reference-queue)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close