Commit Graph

54 Commits (dd56c009e3534eaa9001c0b11ecb59d4b16f0b96)

Author SHA1 Message Date
Volker Birk aa9a3c7e77 auto call release() on platforms where this is supported.
test messages and notifications.
3 years ago
Volker Birk 0260722d6c use .joinable() instead of pointer value to detect if sync is running 3 years ago
Volker Birk f210495d67 implementing ENGINE-781 3 years ago
Volker Birk e658bbaf0e back() and front() have defined behaviour now when queue is empty 3 years ago
Volker Birk dc3d0d9e14 Windoze needs this 3 years ago
Volker Birk ebae3dee3e when in shutdown exit this loop 3 years ago
Volker Birk d4d114ff15 JSON adapter needs this 3 years ago
Volker Birk 3a8b3f4517 ignore PEP_STATEMACHINE_CANNOT_SEND 3 years ago
heck b7d8c06d79 Move pEpLog() macro to new header pEpLog.hh 3 years ago
heck a62e51bec8 Backing out all commits after 159:3275abf4bb79 3 years ago
heck 15a20035eb Improved Logging, prefixed with thread_id now. (DEBUG build only)
added pEpErr() (DEBUG and RELEASE build)
non-local vars names with len == 1 are not handy at all
3 years ago
heck 5d626151d3 More Logging (in DEBUG build) 3 years ago
heck 723b6b1829 Possible fix for "shutdown problem".
Tests added in last commit (startup/shutdown repeatedly) now seem to work better, but still fail on iteration 61, with a different problem.
3 years ago
heck 2a78dab74f Added Build var DEBUG for release/debug builds. (-g vs NDEBUG)
Added Logging macro that compiles away to nothing when DEBUG=0
3 years ago
Volker Birk 825c69b726 FIXME! 4 years ago
Volker Birk 23f50511a0 *oops* 4 years ago
Volker Birk 4b9fdbba02 clean shutdown in sync_thread 4 years ago
Volker Birk c6352281f8 do not join() if on sync thread 4 years ago
Thomas e5862ded4e Delete sync thread if shutdown event is injected 4 years ago
Volker Birk 01d9b71e59 is_sync_running() added 4 years ago
Volker Birk b1c5cf6a1a synchronously and immediate shutdown 4 years ago
Volker Birk 3ee86779f0 ... 4 years ago
Thomas 191bb8b5e4 For debugging purposes 5 years ago
Roker 05e7a8fa90 try_pop_front() returns true on success, not on timeout! Thanks, thomas! 5 years ago
Roker 82cb8717f6 _retrieve_next_sync_event() now uses try_pop_front() instead of the manual timeout gebastel before... :-) 5 years ago
Roker 8d92ae2efd don't pollute the global namespace with "using namespace std;" in the header. Adds some comments for documentation. 5 years ago
Volker Birk faadeb2741 merging 5 years ago
Roker 2d7af21d37 add status_to_string() function to libpEpAdapter. 5 years ago
Volker Birk 47d8cfbd97 simplify 5 years ago
Volker Birk 6ab4d2664b remove deleter 5 years ago
Volker Birk e99d28569c extra callbacks for sync thread 5 years ago
Roker e07ff65537 merge "default" into LPA-1 5 years ago
Roker addc7a1605 correct initialization order: baseclass first, own members second 5 years ago
Roker 4238c90d65 add Deleter parameter to locked_queue<> 5 years ago
Volker Birk a74d7cf8b6 ... 5 years ago
Volker Birk 89ca327f03 ... 5 years ago
Volker Birk 6bbe1edff7 ... 5 years ago
Volker Birk 400e23642a startup and shutdown in sync thread 5 years ago
Volker Birk 2e7a000184 callbacks 5 years ago
Volker Birk d17f3a7f45 simplify and switch to _Thrd_sleep() on Windoze 5 years ago
Volker Birk 944fb89e41 somewhat cleaner 5 years ago
Volker Birk 0293edca01 why a class anymore 5 years ago
Volker Birk ae10e60873 nicer syntax 5 years ago
Volker Birk bae0aaff8d nicer 5 years ago
Volker Birk 7817b87386 a little more release 5 years ago
Volker Birk b224073ba9 do not detach 5 years ago
Volker Birk d64b492c88 ... 5 years ago
Volker Birk 64cfa14432 clean shutdown 5 years ago
Volker Birk 6027577b0d detaching sync thread 5 years ago
Volker Birk 8765c8d5bd one if less reduces complexity! 5 years ago