Commit Graph

1827 Commits

Author SHA1 Message Date
gabime
057bf1b92d Added some mpmc_q tests 2018-08-14 17:57:55 +03:00
gabime
750b520f41 Fix broken build 2018-08-14 16:38:35 +03:00
Gabi Melman
c23f36c734
Merge pull request #795 from indiosmo/queue_full_counter
Expose a counter for how many messages were dropped in async mode
2018-08-14 16:36:38 +03:00
Luiz Siqueira
4eb80dd8d2 acquire lock before reading overrun_counter 2018-08-14 10:11:03 -03:00
Luiz Siqueira
c543985cf4 use size_t instead of int for overrun counter 2018-08-14 09:21:52 -03:00
Luiz Siqueira
863f704f47 increment counter every time we overrid a message in async mode. 2018-08-14 08:51:20 -03:00
gabime
54896763ab Update readme 2018-08-14 01:51:22 +03:00
Gabi Melman
0272bd2846
Update README.md 2018-08-14 01:50:09 +03:00
gabime
70f3ed66f4 Update readme 2018-08-14 01:46:57 +03:00
gabime
1dba3162c4 Fixed travis 2018-08-14 01:19:29 +03:00
gabime
cb0d8cfbbd Fixed travis 2018-08-14 01:15:39 +03:00
gabime
08064716b3 Fixed cmake for bench 2018-08-14 01:05:16 +03:00
gabime
dca20731a2 Added thread sanitizer tests to travis CI 2018-08-14 01:02:05 +03:00
gabime
530e209f66 Fixed async tests to pass TASN checks 2018-08-14 00:58:50 +03:00
gabime
566df7e826 Added missing include to q 2018-08-14 00:58:09 +03:00
gabime
56b3a17e56 Udpated README 2018-08-13 12:38:36 +03:00
gabime
d6cc5847fa Udpated README 2018-08-13 12:37:15 +03:00
gabime
1d672d39cf Udpated README 2018-08-13 12:33:58 +03:00
gabime
aefde13858 formatting 2018-08-13 12:27:25 +03:00
gabime
607779cccf micro optimization in log_msg constructor 2018-08-13 12:27:11 +03:00
gabime
da2af6ea2e Fixed some clang-tidy warning 2018-08-13 11:43:00 +03:00
gabime
ba337d1393 Fixed warning in tests 2018-08-13 11:16:50 +03:00
gabime
6ae240c0b6 code formatting and clang tidy warnings fixes 2018-08-13 10:32:07 +03:00
gabime
05d6960ebc code formatting and clang tidy warnings fixes 2018-08-13 10:30:02 +03:00
gabime
4866f2ac05 Put override kw again 2018-08-13 09:27:11 +03:00
gabime
4456f96ae3 Fixed clang warnings 2018-08-13 09:21:47 +03:00
gabime
8008d7fe53 Replace emplace_back with push_back in pattern_formatter 2018-08-13 09:09:49 +03:00
gabime
0a585092dc Added ASAN test in release build to travis 2018-08-13 02:02:17 +03:00
gabime
387ccae7d8 Removed gcc7 debug from travis 2018-08-13 01:59:49 +03:00
gabime
d951ea32a6 travis improvments 2018-08-13 01:44:10 +03:00
gabime
da30e2ef18 Improved CMakeLists and added bench 2018-08-13 01:22:35 +03:00
Gabi Melman
cb299375f6
Merge pull request #789 from DanielChabrowski/ci-v1
Modify travis-ci, fix compilation issues
2018-08-12 21:52:26 +03:00
Daniel Chabrowski
4534d5239f Remove tsan and gcc 4.9 jobs 2018-08-12 20:34:30 +02:00
Daniel Chabrowski
af5a516443 Add valgrind to a clang6 addon
Unfortunately valgrind is required for all addons
2018-08-12 18:51:34 +02:00
Daniel Chabrowski
368b3699d0 Run ASAN/TSAN jobs with clang
Bring back removed tests/Makefile
2018-08-12 18:42:54 +02:00
Daniel Chabrowski
49d663f6c8 Move tsan/asan flag management to cmake
Add sudo: required to fix asan builds
2018-08-12 17:11:56 +02:00
Daniel Chabrowski
7e32ccbd8f Modify travis-ci, fix issues
Added:
* Release/Debug job for gcc 7 and clang 3.5
* Debug asan gcc 7 job
* Debug tsan gcc 7 job
* Disabled extensions
* Added a spdlog::spdlog alias for tests

Removed:
* Valgrind workaround, the current version is 3.10.1
* install_libcxx
* Makefiles

Fixed:
* examples build
* multisink build

Workarounds:
* gcc7 with tsan and asan needs gold linker, otherwise build
  fails becase of unrecognized option '--push-state'
2018-08-11 02:24:45 +02:00
Gabi Melman
f8f2d7b950
Merge pull request #786 from rajesh-p/v1.x
Namespace fix  for the issue 785
2018-08-10 09:45:31 +03:00
rajesh-p
769f11109d
Namespace fix for the issue 785
Added namespace fix
2018-08-09 21:17:53 -07:00
Gabi Melman
85a2bf1c17
Merge pull request #784 from baishuai/v1.x
add new line at end of file, fix compiler warnings #778
2018-08-08 22:29:14 +03:00
baishuai
a2fa7a833c add new line at end of file, fix compiler warnings 2018-08-08 22:59:57 +08:00
Gabi Melman
8179b26388
Update file_log.cpp 2018-08-07 03:29:45 +03:00
Gabi Melman
12bbef308b
Update README.md 2018-08-06 22:19:16 +03:00
gabime
caff7296b1 small fix to example.sln 2018-08-05 01:33:52 +03:00
gabime
779328a940 Fixed async_bench 2018-08-05 01:25:40 +03:00
gabime
01e05a4495 clang format 2018-08-05 00:35:32 +03:00
gabime
af6b3fe599 delay the release mutex in the async queue only for mingw 2018-08-05 00:34:59 +03:00
gabime
74e8bebb75 Added async_bench 2018-08-05 00:14:01 +03:00
gabime
8bfec30d48 Fix deadlock issue with mingw in async logger 2018-08-03 13:38:41 +03:00
Gabi Melman
2880eceeae
Merge pull request #773 from slapenko/v1.x
We can control should daily_file_sink truncate an underlying file or not
2018-08-02 17:13:40 +03:00