This is an automated email from the ASF dual-hosted git repository.

pnoltes pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/celix.git


    from f9e28753 Merge pull request #584 from 
apache/feature/442-export-headers-bundle-libs
     add ab6b1aa5 Add initial implement of scheduled event for the event thread
     add 3cecc3fc Add error injection test suite for scheduled event
     add 2e907387 Refactor scheduled event to support wakeups
     add 950e5f65 Add remove callback for scheduled event
     add 36e70143 Merge remote-tracking branch 'origin/master' into 
feature/scheduled_event_on_event_thread
     add e72bb907 Fix mem leak in schedule event handling
     add 8468860f Add schedule event documentation
     add f2fd288a Refactor scheduled event removal handling
     add 8ca23ebf Refactor scheduled event wakeup
     add 85f48ab1 Change clock to realtime for celix_cond_waitUntil usage
     add 34a65c06 Fix issue in celix_addDelayInSecondsToTime
     add e42ee60e Make callbacks in ScheduledEvent static
     add 309ed9ce Refactor remote services discovery poller for scheduled event 
usage
     add c62baa02 Replace thread in PSTM for scheduled event
     add 94398a25 Add scheduled event name to RSA disc poller
     add ba22bf22 Update timing of scheduled event tests
     add 24ec8176 Merge remote-tracking branch 'origin/master' into 
feature/scheduled_event_on_event_thread
     add 7e3e91f2 Rename celix_addDelayInSecondsToTime
     add b5bea53a Add celix_threadCondition_getTime for cond timeout usage
     add 47d49d5f Refactor scheduled event to use celixThreadCondition_getTime
     add 5658cac5 Refactor service tracker to use celixThreadCondition_waitUntil
     add 9ec9f084 Rename argument to conform to camelCase style
     add bcd08d37 Replace thread in shm disc watcher to scheduled event
     add 62bf74f4 Refactor topman scope test with "becomes" condition
     add bf4bd0e8 Refactor some scheduled event test to use a wait for predicate
     add 438ca306 Refactor some scheduled event test to use a wait for predicate
     add a92fb2ee Relax some timing checks in scheduled event test suite
     add 64cbc819 Fix some issues with the introduction of scheduled event
     add 006e8e17 Remove commented out code in pstm
     add 4bc5fc9f Fix wrong clock in celixThreadCondition_getDelayedTime
     add 946e6c5c Update more scheduled event tests with a "becomes" approach
     add 95e39ad0 Update more scheduled event tests with a "becomes" approach
     add 1c5ecf36 Relax timing error in sched test suite
     add 67505e55 Add missing interval time to "becomes" test
     add f884cea3 Increase error margin in scheduled event test for macos
     add 0dd04337 Increase error margin in scheduled event test for linux
     add eda55fbe Move log level toString/fromString functions to log level 
header/impl
     add 6140f6a8 Test scheduled event processing log timeout.
     add 30829423 Fix wrong include
     add 72478e80 Add a retain guard for scheduled event based on the 
__cleanup__ attribute
     add 55120acb Increase sleep time to ensure timeout log message is printed 
for scheduled event test suite
     add abe8c76b Relax timing in TimedWaitEventQueueTest test
     add 1df9b816 Avoid realtime clock on macOS.
     add b812c6b2 Fix wrong test assertion.
     add 2d736ba4 Relax timing in CondTimedWaitTest.
     add fe681c40 Add test for short path in celixThreadCondition_waitUntil.
     add 33e1e309 Minor documentation improvements.
     add 1ac3e3e1 Enable format string check in logging message.
     add d1caf178 Unify the semantics of 
celix_framework_waitForEmptyEventQueueFor and 
celix_framework_waitForEmptyEventQueue.
     add 4331c46c Fix API documentation errors.
     add 0273072e Implement the literal meaning of errorIfNotFound.
     add 6bb8de50 Remove unnecessary bundle stop operation.
     add 6e3aa032 Avoid waiting for removed event to be processed.
     add d9946de1 Fix minor typos.
     add 2265d614 Fix potential use-after-free.
     add 03aa4fa7 Eliminate the possibility of returning EINTR.
     add e9d5c063 Add missing ctx checks.
     add 95116c34 Remove unnecessary `celix_framework_stopBundleEntry` from 
`framework_shutdown`.
     add 9896c8e8 Improve error codes of celixThreadCondition_waitUntil.
     add b2a79be9 Remove unused function.
     add 500321dd Revert "Remove unused function."
     add c1a17ef4 Revert "Remove unnecessary `celix_framework_stopBundleEntry` 
from `framework_shutdown`."
     add b706d163 Make sure the framework bundle has been stopped before 
stopping the event dispatcher.
     add bb8c349a Remove unused function.
     add 28564af5 Merge branch 'master' into 
feature/scheduled_event_on_event_thread
     add fe902d06 Refactor scheduled event to use nextDeadline instead of 
lastScheduledEventTime
     add 45e4dd11 Fix move semantics of ScheduledEvent
     add 55c803e6 Revert scheduled event usage in pstm, because network io is 
used
     add 2b2ef9b7 Revert scheduled event usage in remote endpoint poller, 
because network io is used
     add 97a92c42 Mention Network IO in scheduled event documentation
     add 31feb194 Fix invalid return in celix_scheduledEvent_deadlineReached
     add 653e9404 Add missing nextDeadline output in 
celix_scheduledEvent_deadlineReached
     add 2b7ab05d Remove nextDeadline output arg from 
celix_scheduledEvent_deadlineReached
     add 07ccb689 Remove error interval margin, not needed with abs timeout.
     add aeff793f Revert "Replace thread in shm disc watcher to scheduled event"
     add 713d2c4c Add ignore scheduled event ids < 0
     add 781e7bdd Update ScheduledEventTimeoutLogTest timing to use actual 
sleep time
     add f644d990 Minor typo fix.
     add b3fcf164 Replace test with sleep for busy wait and steady clock
     add 95e67390 Disable test ScheduledEventTimeoutLogTest for __APPLE__
     new 456de193 Merge pull request #583 from 
apache/feature/scheduled_event_on_event_thread

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .clang-format                                      |   2 +-
 .../log_admin/gtest/src/LogAdminTestSuite.cc       |  20 +-
 .../src/pubsub_topology_manager.c                  |   1 -
 .../topology_manager/tms_tst/tms_tests.cpp         |  28 +-
 documents/README.md                                |   1 +
 documents/framework.md                             |  35 +-
 documents/scheduled_events .md                     | 136 ++++
 .../readme_c_examples/CMakeLists.txt               |   6 +
 .../src/schedule_events_bundle_activator.c         |  70 ++
 .../readme_cxx_examples/CMakeLists.txt             |   7 +
 ...tivator.cc => ScheduleEventsBundleActivator.cc} |  27 +-
 libs/framework/CMakeLists.txt                      |   3 +-
 libs/framework/gtest/CMakeLists.txt                |   4 +-
 .../src/CelixBundleContextServicesTestSuite.cc     |   2 +-
 .../framework/gtest/src/CelixFrameworkTestSuite.cc |  19 +
 .../framework/gtest/src/ScheduledEventTestSuite.cc | 706 +++++++++++++++++++++
 .../ScheduledEventWithErrorInjectionTestSuite.cc   |  56 ++
 libs/framework/include/celix/BundleContext.h       |   9 +
 libs/framework/include/celix/Framework.h           |   2 +-
 libs/framework/include/celix/ScheduledEvent.h      | 162 +++++
 .../include/celix/ScheduledEventBuilder.h          | 128 ++++
 libs/framework/include/celix/dm/Component.h        |   2 +
 .../framework/include/celix/dm/DependencyManager.h |   3 +
 libs/framework/include/celix_bundle_context.h      | 159 ++++-
 libs/framework/include/celix_constants.h           |  15 +
 libs/framework/include/celix_dependency_manager.h  |  13 +-
 libs/framework/include/celix_framework.h           |  61 +-
 libs/framework/src/bundle_context.c                |  56 +-
 libs/framework/src/celix_scheduled_event.c         | 301 +++++++++
 libs/framework/src/celix_scheduled_event.h         | 191 ++++++
 libs/framework/src/framework.c                     | 417 +++++++++---
 libs/framework/src/framework_private.h             | 106 +++-
 libs/framework/src/service_tracker.c               |  81 ++-
 libs/utils/CMakeLists.txt                          |   3 +-
 libs/utils/gtest/CMakeLists.txt                    |   1 +
 libs/utils/gtest/src/LogTestSuite.cc               |  56 ++
 libs/utils/gtest/src/LogUtilsTestSuite.cc          |  28 +-
 libs/utils/gtest/src/ThreadsTestSuite.cc           |  40 +-
 libs/utils/gtest/src/TimeUtilsTestSuite.cc         |  81 ++-
 libs/utils/include/celix_errno.h                   |   1 +
 libs/utils/include/celix_log_level.h               |  46 +-
 libs/utils/include/celix_log_utils.h               |  20 +-
 libs/utils/include/celix_threads.h                 |  62 +-
 libs/utils/include/celix_utils.h                   |  16 +
 libs/utils/src/celix_log_level.c                   |  97 +++
 libs/utils/src/celix_log_utils.c                   |  68 +-
 libs/utils/src/celix_threads.c                     |  59 +-
 libs/utils/src/utils.c                             |  36 ++
 48 files changed, 3104 insertions(+), 339 deletions(-)
 create mode 100644 documents/scheduled_events .md
 create mode 100644 
examples/celix-examples/readme_c_examples/src/schedule_events_bundle_activator.c
 copy examples/celix-examples/readme_cxx_examples/src/{MyBundleActivator.cc => 
ScheduleEventsBundleActivator.cc} (50%)
 create mode 100644 libs/framework/gtest/src/ScheduledEventTestSuite.cc
 create mode 100644 
libs/framework/gtest/src/ScheduledEventWithErrorInjectionTestSuite.cc
 create mode 100644 libs/framework/include/celix/ScheduledEvent.h
 create mode 100644 libs/framework/include/celix/ScheduledEventBuilder.h
 create mode 100644 libs/framework/src/celix_scheduled_event.c
 create mode 100644 libs/framework/src/celix_scheduled_event.h
 create mode 100644 libs/utils/gtest/src/LogTestSuite.cc
 create mode 100644 libs/utils/src/celix_log_level.c

Reply via email to