KjellKod
|
0c1845ee18
|
Avoid premature wakeup from reader thread by doing the notify AFTER the mutex is released
http://www.justsoftwaresolutions.co.uk/threading/implementing-a-thread-safe-queue-using-condition-variables.html
|
2014-01-24 13:17:10 -07:00 |
|
KjellKod
|
63616d2acd
|
performance increase by using internal unique_ptr for the sink instead of shared_pointer.
Better average (10-15%), and much, much, much better worst case
|
2014-01-19 22:55:44 -07:00 |
|
kjell@kjell-win7.hsd1.co.comcast.net.
|
d0045de73b
|
spell check
|
2014-01-17 09:06:11 +01:00 |
|
kjell@kjell-win7.hsd1.co.comcast.net.
|
460f16d5f4
|
text
|
2014-01-17 09:01:28 +01:00 |
|
kjell@kjell-win7.hsd1.co.comcast.net.
|
82095de062
|
code examples
|
2014-01-17 08:47:01 +01:00 |
|
kjell@kjell-win7.hsd1.co.comcast.net.
|
f3388a66df
|
...
|
2014-01-17 08:46:15 +01:00 |
|
kjell@kjell-win7.hsd1.co.comcast.net.
|
e558d3baed
|
code example of handle
|
2014-01-17 08:45:12 +01:00 |
|
kjell@kjell-win7.hsd1.co.comcast.net.
|
c772785e2a
|
Explanation of how to call a sink through handler
|
2014-01-17 08:44:00 +01:00 |
|
kjell@kjell-win7.hsd1.co.comcast.net.
|
9be95044ef
|
formatting
|
2014-01-17 08:26:38 +01:00 |
|
kjell@kjell-win7.hsd1.co.comcast.net.
|
ba6d1856a5
|
formatting
|
2014-01-17 08:25:38 +01:00 |
|
kjell@kjell-win7.hsd1.co.comcast.net.
|
f5c89d67b6
|
explanation of sinks
|
2014-01-17 08:24:35 +01:00 |
|
kjell@kjell-win7.hsd1.co.comcast.net.
|
3abf46b336
|
formatting
|
2014-01-17 08:20:14 +01:00 |
|
kjell@kjell-win7.hsd1.co.comcast.net.
|
c995f4e8a6
|
markup bugfix
|
2014-01-17 08:17:18 +01:00 |
|
kjell@kjell-win7.hsd1.co.comcast.net.
|
82cc712fca
|
fDraft of finished readme now that the sinks examples are in
|
2014-01-17 08:15:40 +01:00 |
|
kjell@kjell-win7.hsd1.co.comcast.net.
|
3b34da51db
|
Added code example on how to use sinks
|
2014-01-17 08:04:51 +01:00 |
|
kjell@kjell-win7.hsd1.co.comcast.net.
|
342c8aefff
|
fixing up. introduction
|
2014-01-17 07:34:53 +01:00 |
|
kjell@kjell-win7.hsd1.co.comcast.net.
|
cc554ff2cc
|
comment fix
|
2014-01-14 07:18:38 +01:00 |
|
kjell@kjell-win7.hsd1.co.comcast.net.
|
9df4fbd99c
|
constexpr and static_assert when NOT on MSVC. #ifdef workaround for MSVC
|
2014-01-14 07:10:26 +01:00 |
|
kjell@kjell-win7.hsd1.co.comcast.net.
|
9f015b4216
|
Performance fix: g2time return string without unnecessary (old) stream buffering
|
2014-01-14 07:07:00 +01:00 |
|
KjellKod
|
1ac2e9070e
|
Thanks to Aleksey Dobrunov: Improvement by making all raw data in the g2logmessage public
Added explaining comments to g2logmessage
|
2014-01-10 09:18:27 -07:00 |
|
KjellKod
|
cb7c0f8ac5
|
less junk in status check
|
2014-01-08 22:59:28 -07:00 |
|
KjellKod
|
5486bbceca
|
Dynamic logging levels can be enabled with a define. All levels are by default ON
|
2014-01-08 22:48:18 -07:00 |
|
Aleksey Dobrunov
|
beff32d718
|
mingw build
|
2013-12-30 13:44:32 +06:00 |
|
KjellKod
|
916f478267
|
Updated performance test in case all "buckets" hits would be in the 0ms bucket then it is shown in us instead
|
2013-12-28 14:58:22 -07:00 |
|
kjell@kjell-win7.hsd1.co.comcast.net.
|
e850c33354
|
pragma remove
|
2013-12-28 20:52:46 +01:00 |
|
kjell@kjell-win7.hsd1.co.comcast.net.
|
c2b328bfe8
|
comment and pragma cleanup
|
2013-12-28 20:46:56 +01:00 |
|
kjell@kjell-win7.hsd1.co.comcast.net.
|
913208bba8
|
part of previous commit (missed description)
stlpatch to make vs2013 work with packaged_task<void()>.
Thanks to Michael Rasmussen (lap777).
Ref: http://connect.microsoft.com/VisualStudio/feedback/details/791185/std-packaged-task-t-where-t-is-void-or-a-reference-class-are-not-movable
|
2013-12-28 20:42:50 +01:00 |
|
kjell@kjell-win7.hsd1.co.comcast.net.
|
a522c219ce
|
cleaned up time use
|
2013-12-28 20:39:12 +01:00 |
|
KjellKod
|
2e5d323b52
|
Input from Gem Chen triggerd review of shared_queue (now made clearer) and active.hpp (now all header file)
|
2013-12-19 23:47:31 -07:00 |
|
KjellKod
|
74963e13f1
|
Bugfix: stackdump not called at the right place for failed contracts and LOG(FATAL)
|
2013-12-19 22:55:10 -07:00 |
|
KjellKod
|
c847ee037f
|
removed old fatal test
|
2013-12-19 22:52:09 -07:00 |
|
KjellKod
|
8d9f1bfea2
|
split FATAL examples into a SIGSEGV and a CONTRACT examplew
|
2013-12-19 22:51:47 -07:00 |
|
KjellKod
|
726bdb369a
|
using wiki syntax
--HG--
rename : README => README.markdown
|
2013-12-17 23:38:52 -07:00 |
|
KjellKod
|
f61af5529c
|
Updated README... still in progress
|
2013-12-17 23:37:12 -07:00 |
|
KjellKod
|
8f7db77177
|
crashhandler_unix now with support for OSX/Clang
|
2013-12-15 22:44:53 -07:00 |
|
Kjell Hedström
|
6efdaf9d47
|
Merged tip into default
|
2013-12-15 22:32:01 -07:00 |
|
Kjell Hedström
|
fcaf0c0217
|
Close branch merge
--HG--
branch : merge
extra : close : True
|
2013-12-15 22:31:37 -07:00 |
|
KjellKod
|
fe4862a96b
|
Cleanup, added headers where they were missing. Removed default option ON for unit test.
|
2013-12-15 22:29:26 -07:00 |
|
KjellKod
|
507ec52c04
|
merging heads 2 of 2
--HG--
rename : g2log/src/g2sinkhandle.h => g2log/src/g2sinkhandle.hpp
|
2013-12-15 22:17:06 -07:00 |
|
KjellKod
|
97a6492d81
|
merging heads 1 of 2
|
2013-12-15 22:16:32 -07:00 |
|
KjellKod
|
d5ec3424e5
|
Renaming, moving from .h to .hpp. Should not affect API, mostly internal stuff
--HG--
rename : g2log/src/g2future.h => g2log/src/g2future.hpp
rename : g2log/src/g2sink.h => g2log/src/g2sink.hpp
rename : g2log/src/g2sinkhandle.h => g2log/src/g2sinkhandle.hpp
rename : g2log/src/g2sinkwrapper.h => g2log/src/g2sinkwrapper.hpp
rename : g2log/src/shared_queue.h => g2log/src/shared_queue.hpp
|
2013-12-15 22:13:43 -07:00 |
|
Aleksey Dobrunov
|
c2ba2546bb
|
fix unit tests
|
2013-12-14 02:58:36 +06:00 |
|
Aleksey Dobrunov
|
f3dda737ed
|
fix build program that uses g2log
|
2013-12-14 02:50:29 +06:00 |
|
Aleksey Dobrunov
|
781b1c1b5e
|
add build target for mingw
|
2013-12-14 01:39:50 +06:00 |
|
Aleksey Dobrunov
|
768f6a3ae5
|
fix warning in CMakeLists.txt
|
2013-12-14 01:39:03 +06:00 |
|
Aleksey Dobrunov
|
e35a9df89f
|
fix crashhandler for windows
|
2013-12-14 01:12:35 +06:00 |
|
Aleksey Dobrunov
|
570a2d8f10
|
fix colon in log path
|
2013-12-14 01:07:07 +06:00 |
|
Aleksey Dobrunov
|
c76f2fc5bd
|
fix time for mingw
|
2013-12-14 01:04:28 +06:00 |
|
KjellKod
|
aeadc490b1
|
Thanks to Rui Pacheco. Bugfix: could occurr if logger was initialized, had "shutownlogging" and then a fatal signal occurred
|
2013-12-13 08:36:45 -07:00 |
|
KjellKod
|
68e3d2f1a5
|
showing worst times in ms and us
|
2013-12-10 15:29:43 -07:00 |
|