20250121-deadline-sched-features #69
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
prepare for release 1.6.3: update
ChangeLog.mdanddoc/wolfSentry_refman.pdf.update copyright year.
add
wolfsentry_set_deadline_rel(),wolfsentry_get_deadline_rel(), andwolfsentry_get_deadline_rel_usecs();add
WOLFSENTRY_SUCCESS_ID_NO_DEADLINEandWOLFSENTRY_SUCCESS_ID_EXPIRED;add
wolfsentry.default_policy, mirroringwolfsentry->routes->default_policy, for lock-free access to default policy;in
wolfsentry_route_event_dispatch_1(), set *action_results to wolfsentry->default_policy before returning error code from failed lock op;src/wolfsentry_util.c: add helper funcsusecs_to_wolfsentry_time()andwolfsentry_time_to_usecs(), and fixwolfsentry_set_deadline_rel_usecs()to properly convert from usecs towolfsentry_time_t(which is usecs in built-in time, but can't be relied on);in
src/lwip/packet_filter_glue.c, pivot decision on action_results even on error returns fromwolfsentry_route_event_dispatch_with_inited_result(), to honor the default action set upon lock failure (normallyTIMED_OUTorBUSY).add
WOLFSENTRY_SUCCESS_ID_NO_WAITING;fix return codes in
wolfsentry_get_thread_deadline();fix
wolfsentry_get_deadline_rel()to handleWOLFSENTRY_DEADLINE_NOWand return positive rel_when when deadline is unexpired;fix thread->deadline checks in lock functions to handle
WOLFSENTRY_DEADLINE_NOW;add unit tests for
wolfsentry_set_deadline_rel(),wolfsentry_set_deadline_rel_usecs(),wolfsentry_get_deadline_rel(),wolfsentry_get_deadline_rel_usecs(),wolfsentry_clear_deadline(),wolfsentry_set_thread_readonly(), andwolfsentry_set_thread_readwrite().src/json/centijson_sax.c: suppress false positive clang-analyzer-core.NullDereference from clang-20.0.0_pre20250118.wolfsentry/wolfsentry_util.h: add macroMIN_SINT_OF().refresh certs in
examples/notification-demo/log_server/certs/andexamples/notification-demo/log_server/log_server.c.refresh lwip patchset at upstream fbd597e450, adding "in
*_filter_dispatch_*()implementations, move filter_reason_mask test to start, to minimize overhead."Makefile.analyzers: innotification-demo-build-testrecipe, if log_server launch fails, dumplog_server.outbefore exiting.tested with
make check-all