Export of internal Abseil changes.
-- f4bb8afa9376b4120f56f3beff7b07260da4a5c2 by CJ Johnson <johnsoncj@google.com>: Add user to Github list PiperOrigin-RevId: 209630262 GitOrigin-RevId: f4bb8afa9376b4120f56f3beff7b07260da4a5c2 Change-Id: I3fedf35011d805ee4a20b92e073b43523b47d15b
This commit is contained in:
parent
fefc83638f
commit
bed5bd6e18
54 changed files with 302 additions and 302 deletions
|
@ -298,7 +298,7 @@ static struct SynchEvent { // this is a trivial hash table for the events
|
|||
// set "bits" in the word there (waiting until lockbit is clear before doing
|
||||
// so), and return a refcounted reference that will remain valid until
|
||||
// UnrefSynchEvent() is called. If a new SynchEvent is allocated,
|
||||
// the std::string name is copied into it.
|
||||
// the string name is copied into it.
|
||||
// When used with a mutex, the caller should also ensure that kMuEvent
|
||||
// is set in the mutex word, and similarly for condition variables and kCVEvent.
|
||||
static SynchEvent *EnsureSynchEvent(std::atomic<intptr_t> *addr,
|
||||
|
@ -1827,8 +1827,8 @@ bool Mutex::LockSlowWithDeadline(MuHow how, const Condition *cond,
|
|||
cond == nullptr || EvalConditionAnnotated(cond, this, true, how);
|
||||
}
|
||||
|
||||
// RAW_CHECK_FMT() takes a condition, a printf-style format std::string, and
|
||||
// the printf-style argument list. The format std::string must be a literal.
|
||||
// RAW_CHECK_FMT() takes a condition, a printf-style format string, and
|
||||
// the printf-style argument list. The format string must be a literal.
|
||||
// Arguments after the first are not evaluated unless the condition is true.
|
||||
#define RAW_CHECK_FMT(cond, ...) \
|
||||
do { \
|
||||
|
|
|
@ -962,7 +962,7 @@ void RegisterMutexTracer(void (*fn)(const char *msg, const void *obj,
|
|||
//
|
||||
// The function pointer registered here will be called here on various CondVar
|
||||
// events. The callback is given an opaque handle to the CondVar object and
|
||||
// a std::string identifying the event. This is thread-safe, but only a single
|
||||
// a string identifying the event. This is thread-safe, but only a single
|
||||
// tracer can be registered.
|
||||
//
|
||||
// Events that can be sent are "Wait", "Unwait", "Signal wakeup", and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue