#include <gtest-linked_ptr.h>
Definition at line 89 of file gtest-linked_ptr.h.
◆ depart()
bool testing::internal::linked_ptr_internal::depart |
( |
| ) |
|
|
inline |
Definition at line 125 of file gtest-linked_ptr.h.
126 {
128
129 if (next_ == this) return true;
130 linked_ptr_internal
const*
p = next_;
131 while (
p->next_ !=
this) {
132 assert(
p->next_ != next_ &&
133 "Trying to depart() a linked ring we are not in. "
134 "Is GMock thread safety enabled?");
136 }
138 return false;
139 }
◆ join()
Definition at line 108 of file gtest-linked_ptr.h.
109 {
111
112 linked_ptr_internal
const*
p = ptr;
113 while (
p->next_ != ptr) {
114 assert(
p->next_ !=
this &&
115 "Trying to join() a linked ring we are already in. "
116 "Is GMock thread safety enabled?");
118 }
120 next_ = ptr;
121 }
◆ join_new()
void testing::internal::linked_ptr_internal::join_new |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file:
- libraries/fc/include/fc/crypto/webauthn_json/thirdparty/gtest/googletest/include/gtest/internal/gtest-linked_ptr.h