summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/_mutex.h
diff options
context:
space:
mode:
authorRye <rye@alchemyviewer.org>2025-11-27 11:41:03 -0500
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2025-11-27 22:14:23 +0200
commit0ea816a6c26e17bf0a2ee8274363837d4bd0ef94 (patch)
tree204f2ae97a2bee4252bdd2e9ed885b654d97c73d /indra/llcorehttp/_mutex.h
parent0fa5991d067304d103d8bd18702e3e8806de07e3 (diff)
Replace dependency on boost thread with std and change HttpService to use a similar thread shutdown mechanism to LLThread
Diffstat (limited to 'indra/llcorehttp/_mutex.h')
-rw-r--r--indra/llcorehttp/_mutex.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/indra/llcorehttp/_mutex.h b/indra/llcorehttp/_mutex.h
index 5e0164eb51..43782d3a37 100644
--- a/indra/llcorehttp/_mutex.h
+++ b/indra/llcorehttp/_mutex.h
@@ -27,9 +27,8 @@
#ifndef LLCOREINT_MUTEX_H_
#define LLCOREINT_MUTEX_H_
-
-#include <boost/thread.hpp>
-
+#include <condition_variable>
+#include <mutex>
namespace LLCoreInt
{
@@ -37,17 +36,17 @@ namespace LLCoreInt
// MUTEX TYPES
// unique mutex type
-typedef boost::mutex HttpMutex;
+typedef std::mutex HttpMutex;
// CONDITION VARIABLES
// standard condition variable
-typedef boost::condition_variable HttpConditionVariable;
+typedef std::condition_variable HttpConditionVariable;
// LOCKS AND FENCES
// scoped unique lock
-typedef boost::unique_lock<HttpMutex> HttpScopedLock;
+typedef std::unique_lock<HttpMutex> HttpScopedLock;
}