-
* Use lock_guard instead of unique_lock when possible * Make a few types non-atomic since they are already guarded by a mutex * Create setVariable helpers that lock and notify
-
…ed to and has no locking anyway so this will be the same functionality.
-
…wise problems could occur where you increment, then fetch and get the wrong number.
-
Very similar to the fixes for Command and Subscriber, adds locking around booleans used as flags for condition variables.
-
The lock used with the condition variable should always be the same one guarding changes to the condition itself, in these cases, the lock guarding changes to the subscribe and psubscibe data structures. This commit also limits the number of locks held by the subscribeBase function at any one time.
-
User can now enable no-wait mode, which chooses whether we use the EVRUN_NOWAIT flag in ev_run. The default is off, so that we don't use 100% CPU. Note added in tutorial to enable when performance is critical. Added to the speed test examples. Bump to 0.2.1. Remove patch number from HISTORY entry - that's what the git log is for. Make note on minor release.
-
Instructions in README, some minor changes to comments.
-
Things are faster with vectors! Also added a note about strToVec and vecToStr, and made them static methods.
-
This enables full support for binary data, with no tokenization needed and all the assumptions that come with that. All of the core methods are changed to accept vector<string>& instead of string&. Ported all examples and tutorial as well.
-
Call Redox::disconnectCallback from processReply
-
This makes more sense logically, and lets the Redox object get default constructed with nothing but the optional logger parameters.
-
Separate include directory so that examples can reference the same thing whether installed in the system or from the local folder.