summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/_httpservice.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcorehttp/_httpservice.h')
-rw-r--r--indra/llcorehttp/_httpservice.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/indra/llcorehttp/_httpservice.h b/indra/llcorehttp/_httpservice.h
index a74235c475..d67e6e95a5 100644
--- a/indra/llcorehttp/_httpservice.h
+++ b/indra/llcorehttp/_httpservice.h
@@ -30,6 +30,8 @@
#include <vector>
+#include "linden_common.h"
+#include "llapr.h"
#include "httpcommon.h"
#include "httprequest.h"
#include "_httppolicyglobal.h"
@@ -164,6 +166,12 @@ public:
return *mTransport;
}
+ /// Threading: callable by worker thread.
+ HttpRequestQueue & getRequestQueue()
+ {
+ return *mRequestQueue;
+ }
+
/// Threading: callable by consumer thread.
HttpPolicyGlobal & getGlobalOptions()
{
@@ -191,7 +199,7 @@ protected:
// === shared data ===
static volatile EState sState;
HttpRequestQueue * mRequestQueue;
- volatile bool mExitRequested;
+ LLAtomicU32 mExitRequested;
LLCoreInt::HttpThread * mThread;
// === consumer-thread-only data ===