Crates.io | audio-garbage-collector |
lib.rs | audio-garbage-collector |
version | 1.2.0 |
source | src |
created_at | 2022-01-15 14:24:55.772502 |
updated_at | 2023-04-19 07:45:20.751915 |
description | Wrapper on top of `basedrop` that provides a drop-in GC API that'll collect reference-counted values on a background thread. |
homepage | https://github.com/yamadapc/augmented-audio |
repository | https://github.com/yamadapc/augmented-audio |
max_upload_size | |
id | 514347 |
size | 12,912 |
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 is based on polling the queue. If references are created and dropped very frequently this will not be adequate.
License: MIT