Simplify notification handling
Status from this message: Applied.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest13 patches 1 replyApplied
- v112 patches 0 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | build: Add coverage support.gitignore Makefile.am acinclude.m4 +1 more | +33 | 0 replies | |
| 2/13 | unit/test-queue: Add /queue/foreach_remove testunit/ | +22 | 0 replies | |
| 3/13 | unit/test-queue: Add /queue/foreach_remove_backward testunit/ | +24 | 0 replies | |
| 4/13 | shared/queue: Add reference counting to entriessrc/ | +48 | 0 replies | |
| 5/13 | unit/test-mgmt: Add /mgmt/response/1 testunit/ | +50 | 0 replies | |
| 6/13 | unit/test-mgmt: Add /mgmt/response/2 testunit/ | +30 | 0 replies | |
| 7/13 | unit/test-mgmt: Add /mgmt/event/1 testunit/ | +36 | 0 replies | |
| 8/13 | unit/test-mgmt: Add /mgmt/event/2 testunit/ | +20 | 0 replies | |
| 9/13 | unit/test-mgmt: Add /mgmt/unregister/1 testunit/ | +29 | 0 replies | |
| 10/13 | unit/test-mgmt: Add /mgmt/unregister/2 testunit/ | +28 | 0 replies | |
| 11/13 | unit/test-mgmt: Add /mgmt/destroy/1 testunit/ | +29 | 0 replies | |
| 12/13 | shared/mgmt: Remove unnecessary codesrc/ | +11 | 0 replies | |
| 13/13 | doc/test-coverage: Update test countdoc/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 00/13] Simplify notification handling
From: Luiz Augusto von Dentz <[email protected]>
This attempts to simplify notification handling by making queue_foreach safe from entry removals during callback. In addition to that a couples there are a couple of new unit test to emulate removal during event callback and because of that Ive also included the coverage support again since I used it to check what part of the code is being exercised.
v2: Make coverage target depend on lcov to be present and update test coverage.
Luiz Augusto von Dentz (13):
build: Add coverage support
unit/test-queue: Add /queue/foreach_remove test unit/test-queue: Add /queue/foreach_remove_backward test shared/queue: Add reference counting to entries unit/test-mgmt: Add /mgmt/response/1 test unit/test-mgmt: Add /mgmt/response/2 test unit/test-mgmt: Add /mgmt/event/1 test unit/test-mgmt: Add /mgmt/event/2 test unit/test-mgmt: Add /mgmt/unregister/1 test unit/test-mgmt: Add /mgmt/unregister/2 test unit/test-mgmt: Add /mgmt/destroy/1 test shared/mgmt: Remove unnecessary code
doc: Update mgmt-tester test coverage
.gitignore | 4 + Makefile.am | 20 +++++ acinclude.m4 | 4 + configure.ac | 5 ++ doc/test-coverage.txt | 4 +- src/shared/mgmt.c | 89 +++----------------- src/shared/queue.c | 77 +++++++++++------- unit/test-mgmt.c | 220 +++++++++++++++++++++++++++++++++++++++++++++++++- unit/test-queue.c | 46 +++++++++++ 9 files changed, 356 insertions(+), 113 deletions(-)
Signature · 1 line
1.9.3