summaryrefslogtreecommitdiffstats
path: root/common/query.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-09-20 17:18:21 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-09-20 17:18:21 +0200
commitebc5c48c03b6145e604da7c313b35321d0a71142 (patch)
tree1cee00a9fa4faa4995c0a50f01703ac5672c8797 /common/query.h
parent4a14a6fade947aa830d3f21598a4a6ba7316b933 (diff)
downloadsink-ebc5c48c03b6145e604da7c313b35321d0a71142.tar.gz
sink-ebc5c48c03b6145e604da7c313b35321d0a71142.zip
A first draft of the threading algorithm.
Diffstat (limited to 'common/query.h')
-rw-r--r--common/query.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/query.h b/common/query.h
index 68463cd..0808432 100644
--- a/common/query.h
+++ b/common/query.h
@@ -195,13 +195,13 @@ public:
195 return *this; 195 return *this;
196 } 196 }
197 197
198 Query(const ApplicationDomain::Entity &value) : limit(0), liveQuery(false), synchronousQuery(false) 198 Query(const ApplicationDomain::Entity &value) : limit(0), liveQuery(false), synchronousQuery(false), threadLeaderOnly(false)
199 { 199 {
200 ids << value.identifier(); 200 ids << value.identifier();
201 resources << value.resourceInstanceIdentifier(); 201 resources << value.resourceInstanceIdentifier();
202 } 202 }
203 203
204 Query(Flags flags = Flags()) : limit(0), liveQuery(false), synchronousQuery(false) 204 Query(Flags flags = Flags()) : limit(0), liveQuery(false), synchronousQuery(false), threadLeaderOnly(false)
205 { 205 {
206 } 206 }
207 207
@@ -236,6 +236,7 @@ public:
236 int limit; 236 int limit;
237 bool liveQuery; 237 bool liveQuery;
238 bool synchronousQuery; 238 bool synchronousQuery;
239 bool threadLeaderOnly;
239}; 240};
240} 241}
241 242