Skip to content

Commit 4d36b23

Browse files
author
Pierre-Antoine Lacaze
committed
Update the readme and bump the version to 1.1.0
1 parent 9ed8323 commit 4d36b23

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.5)
22
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
33

4-
project(pal_sigslot VERSION 1.0.1 LANGUAGES CXX)
4+
project(pal_sigslot VERSION 1.1.0 LANGUAGES CXX)
55
set(CMAKE_CXX_EXTENSIONS OFF)
66

77
include(SigslotUtils)

readme.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ Sigslot is a header-only, thread safe implementation of signal-slots for C++.
66

77
The main goal was to replace Boost.Signals2.
88

9-
Apart from the usual features, it offers thread safety, (extensible through ADL) object lifetime tracking for automatic slot disconnection, Boost.Signals2 style RAII connection management, reasonable performance and a simple and straightforward implementation.
9+
Apart from the usual features, it offers thread safety, object lifetime tracking for automatic slot disconnection (extensible through ADL), Boost.Signals2 style RAII connection management, reasonable performance and a simple and straightforward implementation.
1010

11-
Sigslot is unit-tested, should be reliable and stable enough to replace Boost Signals2 (it works for me). I have done some simple benchmarking (fork of the [Signal-Slot Benchmarks](https://github.com/palacaze/signal-slot-benchmarks) project) and it seems to be doing fine performance-wise, though I can't vouch for these benchmarks' relevance.
11+
Sigslot is unit-tested, should be reliable and stable enough to replace Boost Signals2. The tests run cleanly under both address and thread sanitizers.
1212

1313
Many implementations allow signal return types, Sigslot does not because I have no use for them. Although it would be a simple enough feature to add, it would most certainly double the source code as per the need of void return type specializations everywhere. If I can be convinced of otherwise I may change my mind later on.
1414

@@ -377,6 +377,8 @@ int main() {
377377
378378
### Thread safety
379379
380+
Thread safety is unit-tested. In particular, cross-signal emission and recursive emission run fine in a multiple threads scenario.
381+
380382
`sigslot::signal` is a typedef to the more general `sigslot::signal_base` template class, whose first template argument must be a Lockable type. This type will dictate the locking policy of the class.
381383
382384
Sigslot offers 2 typedefs,

0 commit comments

Comments
 (0)