aml

Another Main Loop

ISC License

Stars
17
Committers
3

Bot releases are hidden (Show)

aml - v0.3.0 Latest Release

Published by any1 over 1 year ago

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
aml -

Published by any1 over 2 years ago

Andri Yngvason (2):
      aml: Don't put the same item onto the event queue more than once
      Release v0.2.2
aml -

Published by any1 about 3 years ago

This release fixes a bug that would cause reused file descriptor numbers to fail being added to epoll.

Andri Yngvason (3):
      Display Patreon account on GitHub page
      epoll: Fix fd deletion
      Update patch version
aml -

Published by any1 almost 4 years ago

Summary

  • A kqueue backend has been added, so aml should now run natively on any of the BSDs without epoll-shim.
  • The library will now be statically linked if it is a meson subproject and headers and/or libraries will not be installed by ninja install.

Changes

Andri Yngvason (9):
      meson: Handle deprecation warning
      meson: Don't install if this is a statically linked subproject
      Add method to check if an event handler is started
      Don't modify backend fd handler on stopped handler
      Implement kqueue backend
      Use CLOCK_REALTIME for kqueue
      kqueue: Block added signals
      meson: Indicate which backend was chosen
      Release v0.2.0