sigslot

A simple C++14 signal-slots implementation

MIT License

Stars
707

Bot releases are hidden (Show)

sigslot - Sigslot v1.2.2 Latest Release

Published by palacaze over 1 year ago

This is a minor release fixing a few bugs.

Full Changelog: https://github.com/palacaze/sigslot/compare/v1.2.1...v1.2.2

sigslot - Sigslot v1.2.1

Published by palacaze almost 3 years ago

What's Changed

  • Automatic slot lifecycle handling via observer inheritance by @MarkoTurunen
  • FetchContent compatible by @OlivierLDff

New Contributors

Full Changelog: https://github.com/palacaze/sigslot/compare/v1.2.0...v1.2.1

sigslot - Sigslot v1.2.0

Published by palacaze over 4 years ago

This release adds a few requested features and better support for MSVC.

  • Add a signal::slot_count() method to determine the number of currently connected slots,
  • Introduce slot groups, which can be used to enforce slots invocation order,
  • Add signal::disconnect() overloads to allow disconnection by supplying a function , and/or object pointer, or a slot group id,
  • Better support for MSVC (cl as well as clang-cl),
  • Improved CMake scripts.
sigslot - Sigslot v1.1.0

Published by palacaze over 5 years ago

This release focuses on correctness, the API has been left unchanged.

In version 1.0 a potential deadlock could occur in recursive signal emission situations. The obvious fix was a performance killer, which has been mostly mitigated using a copy on write mechanism.

Also of note are the following changes:

  • Rework of the CMake files, with extra configuration keys,
  • An option to reduce compilation times has been introduced,
  • Disconnection semantics has changed. Previously the actual disconnection was deferred until the next signal emission. Now it happens immediately.

Both the unit tests and examples run cleanly under ASan and TSan.

Related Projects