Home
last modified time | relevance | path

Searched refs:ThreadsafeCopyOnWrite (Results 1 – 3 of 3) sorted by relevance

/third_party/node/src/
Dnode_threadsafe_cow.h41 class ThreadsafeCopyOnWrite final {
60 ThreadsafeCopyOnWrite(Args&&... args) in ThreadsafeCopyOnWrite() function
63 ThreadsafeCopyOnWrite(const ThreadsafeCopyOnWrite<T>& other) = default;
64 ThreadsafeCopyOnWrite& operator=(const ThreadsafeCopyOnWrite<T>& other) =
66 ThreadsafeCopyOnWrite(ThreadsafeCopyOnWrite<T>&& other) = default;
67 ThreadsafeCopyOnWrite& operator=(ThreadsafeCopyOnWrite<T>&& other) = default;
71 explicit Read(const ThreadsafeCopyOnWrite<T>* cow);
77 const ThreadsafeCopyOnWrite<T>* cow_;
83 explicit Write(ThreadsafeCopyOnWrite<T>* cow);
89 ThreadsafeCopyOnWrite<T>* cow_;
[all …]
Dnode_threadsafe_cow-inl.h17 ThreadsafeCopyOnWrite<T>::Read::Read(const ThreadsafeCopyOnWrite<T>* cow) in Read()
21 const T& ThreadsafeCopyOnWrite<T>::Read::operator*() const {
26 const T* ThreadsafeCopyOnWrite<T>::Read::operator->() const {
31 ThreadsafeCopyOnWrite<T>::Write::Write(ThreadsafeCopyOnWrite<T>* cow) in Write()
35 T& ThreadsafeCopyOnWrite<T>::Write::operator*() {
40 T* ThreadsafeCopyOnWrite<T>::Write::operator->() {
45 ThreadsafeCopyOnWrite<T>::Impl::Impl(const Impl& other) { in Impl()
Dnode_builtins.h136 ThreadsafeCopyOnWrite<BuiltinSourceMap> source_;