Skip to content
Snippets Groups Projects
  1. Mar 08, 2021
  2. Feb 22, 2021
  3. Feb 08, 2021
  4. Feb 06, 2021
  5. Feb 05, 2021
  6. Feb 03, 2021
  7. Feb 02, 2021
  8. Jan 26, 2021
  9. Dec 10, 2020
  10. Dec 09, 2020
    • Florian Schmaus's avatar
      Add emper::getFullVersion() · 5b194979
      Florian Schmaus authored
      This also solves a dependency declaration issue in WorkerSleepExample:
      Prior to this change, a clean build could potentially result in
      
      ninja  -C build
      ninja: Entering directory `build'
      [13/57] Compiling C++ object apps/worker_sleep_example.p/WorkerSleepExample.cpp.o
      FAILED: apps/worker_sleep_example.p/WorkerSleepExample.cpp.o
      ccache c++ -Iapps/worker_sleep_example.p -Iapps -I../apps -Iemper -I../emper -Iemper/include -I../emper/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Wpedantic -Werror -std=c++17 -O2 -g -Wno-non-virtual-dtor -MD -MQ apps/worker_sleep_example.p/WorkerSleepExample.cpp.o -MF apps/worker_sleep_example.p/WorkerSleepExample.cpp.o.d -o apps/worker_sleep_example.p/WorkerSleepExample.cpp.o -c ../apps/WorkerSleepExample.cpp
      ../apps/WorkerSleepExample.cpp:12:10: fatal error: emper-version.h: No such file or directory
         12 | #include "emper-version.h"        // for EMPER_FULL_VERSION
            |          ^~~~~~~~~~~~~~~~~
      compilation terminated.
      [17/57] Generating emper-version.h with a custom command
      ninja: build stopped: subcommand failed.
      make: *** [Makefile:23: build] Error 1
      
      because worker_sleep_example_exec should have also depend on
      emper_version_h. However this is obviously error prone, as users
      easily forget to add this dependency. Instead we add
      emper::getFullVersion() which is part of the EMPER shared object (not
      just of a single header).
      5b194979
    • Florian Schmaus's avatar
      Add Runtime::scheduleFromAnywhere(), remove mainThreadQueue · 0d7248ab
      Florian Schmaus authored
      In debug builds, the schedule() method is now guarded by an assert(),
      as due to this change, the schedule() method will no longer work from
      everywhere.
      
      This also improves the worker sleep method.
      0d7248ab
  11. Dec 07, 2020
  12. Nov 10, 2020
  13. Nov 05, 2020
  14. Jul 31, 2020
  15. Jun 23, 2017
  16. Sep 08, 2016
Loading