Summary
- The time unit has been changed from milliseconds to microseconds
- The global object registry has been replaced with weak references
- It is now guaranteed that a callback will not be called after
aml_stop()
. - Worker threads now keep references to work objects that are being executed. This ensures that they cannot be freed while they are being worked on.
Changes
Andri Yngvason (12):
Add out-of-band events
.gitignore: Add .clang_complete
Change time unit for ms to µs
Add an api version symbol for run-time checks
Replace global registry with weak references
Don't run callbacks for stopped objects
Document that callback is not called after aml_stop()
Use LIST_FOREACH_SAFE for traversing idles
Mark expired one-shot timers as expired
meson: Set default warning level to 2
thread-pool: Keep reference to work while it's being worked on
Release v0.3.0