audio-garbage-collector

Crates.ioaudio-garbage-collector
lib.rsaudio-garbage-collector
version1.2.0
sourcesrc
created_at2022-01-15 14:24:55.772502
updated_at2023-04-19 07:45:20.751915
descriptionWrapper on top of `basedrop` that provides a drop-in GC API that'll collect reference-counted values on a background thread.
homepagehttps://github.com/yamadapc/augmented-audio
repositoryhttps://github.com/yamadapc/augmented-audio
max_upload_size
id514347
size12,912
Pedro Tacla Yamada (yamadapc)

documentation

README

audio-garbage-collector

Batteries included solution to using reference counted values on the audio-thread.

Wraps basedrop so that smart pointers are dropped on a background thread. Exposes a default global GC thread and helpers to create pointers attached to it.

Collection frequency

Collection is based on polling the queue. If references are created and dropped very frequently this will not be adequate.

License: MIT

Commit count: 3017

cargo fmt