summaryrefslogtreecommitdiff
path: root/src/mongo/scripting/mozjs/proxyscope.h
diff options
context:
space:
mode:
authorADAM Martin <adam.martin@mongodb.com>2019-10-14 23:21:42 +0000
committerevergreen <evergreen@mongodb.com>2019-10-14 23:21:42 +0000
commitac0b3c4052e88c6626b4bd3129d4190e2d0aa179 (patch)
tree1418b8b9738d05c3ff687ee4cd06e60ffcd8d9a0 /src/mongo/scripting/mozjs/proxyscope.h
parentd8a6cad43539382e7e92584905acd2168fd18831 (diff)
downloadmongo-ac0b3c4052e88c6626b4bd3129d4190e2d0aa179.tar.gz
SERVER-42736 Remove PosixNSPR implementations.
We don't need these implementations as the mozjs code doesn't call into them anymore. Therefore we don't have to either.
Diffstat (limited to 'src/mongo/scripting/mozjs/proxyscope.h')
-rw-r--r--src/mongo/scripting/mozjs/proxyscope.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/scripting/mozjs/proxyscope.h b/src/mongo/scripting/mozjs/proxyscope.h
index d0d4c5a3423..8d3269c7474 100644
--- a/src/mongo/scripting/mozjs/proxyscope.h
+++ b/src/mongo/scripting/mozjs/proxyscope.h
@@ -186,7 +186,7 @@ private:
void runOnImplThread(unique_function<void()> f);
void shutdownThread();
- static void implThread(void* proxy);
+ static void implThread(MozJSProxyScope* proxy);
MozJSScriptEngine* const _engine;
MozJSImplScope* _implScope;
@@ -203,7 +203,7 @@ private:
stdx::condition_variable _proxyCondvar;
stdx::condition_variable _implCondvar;
- PRThread* _thread;
+ stdx::thread _thread;
};
} // namespace mozjs