MCPcopy Create free account
hub / github.com/chromium/crashpad / PushBack

Method PushBack

util/stdlib/thread_safe_vector.h:41–44  ·  view source on GitHub ↗

\brief Wraps `std::vector<>::%push_back()`.

Source from the content-addressed store, hash-verified

39
40 //! \brief Wraps `std::vector<>::%push_back()`.
41 void PushBack(const T& element) {
42 base::AutoLock lock_owner(lock_);
43 vector_.push_back(element);
44 }
45
46 //! \brief Atomically clears the underlying vector and returns its previous
47 //! contents.

Callers 2

ThreadMainMethod · 0.80
ReportPendingMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by 1

ThreadMainMethod · 0.64