mirror of
https://github.com/PerMalmberg/libcron.git
synced 2025-04-22 00:13:01 -05:00
* Initial commit on executed on time feature. A task was executed on time if the function call happened within one second since it expired. * Adding tests, fixing some errors. * Using recursirve mutex to allowing to call safely call was_executed_on_time in an Mt-environment * Changing from boolean expression to get_delay, being even more flexibel * Cleanup * Adding dedicated TaskContext * Changing to Interface-Class Approach * Renaming to TaskInformation, making it pure virtual * Removing unnecessary Proxy-Class * Cleaning up * Passing a const reference instead of a pointer to avoid nullptr checks in the callback * Cleaning up add_schedule. * Adding TaskInformation API to readme. Co-authored-by: Heinz-Peter Liechtenecker <h.liechtenecker@fh-kaernten.at>
9 lines
137 B
CMake
9 lines
137 B
CMake
cmake_minimum_required(VERSION 3.6)
|
|
|
|
project(top)
|
|
add_subdirectory(libcron)
|
|
add_subdirectory(test)
|
|
|
|
add_dependencies(cron_test libcron)
|
|
|