summaryrefslogtreecommitdiff
path: root/Rx/v2/test/subjects
diff options
context:
space:
mode:
authorKirk Shoop <kirk.shoop@microsoft.com>2014-03-24 11:50:39 -0700
committerKirk Shoop <kirk.shoop@microsoft.com>2014-03-24 11:50:39 -0700
commit087ba2b7de05e9922809799754fce7a40bd09698 (patch)
treec288cec00fdfbccc69b5b0d5a77b6754e23d3654 /Rx/v2/test/subjects
parent4e02f4b3cbda35b4b92ea07338a28b5703db078b (diff)
downloadRxCpp-087ba2b7de05e9922809799754fce7a40bd09698.tar.gz
fix race *and* improve perf in subject
that is rare!
Diffstat (limited to 'Rx/v2/test/subjects')
-rw-r--r--Rx/v2/test/subjects/subject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rx/v2/test/subjects/subject.cpp b/Rx/v2/test/subjects/subject.cpp
index ac8ed91..0cec63f 100644
--- a/Rx/v2/test/subjects/subject.cpp
+++ b/Rx/v2/test/subjects/subject.cpp
@@ -1,5 +1,5 @@
-#define RXCPP_SUBJECT_TEST_ASYNC 1
+#define RXCPP_SUBJECT_TEST_ASYNC 0
#include "rxcpp/rx.hpp"
namespace rx=rxcpp;
@@ -22,7 +22,7 @@ SCENARIO("subject test", "[hide][subject][subjects][perf]"){
using namespace std::chrono;
typedef steady_clock clock;
- const int onnextcalls = 10000000;
+ const int onnextcalls = 100000000;
{
std::mutex m;