HomeSort by relevance Sort by last modified time
    Searched refs:waitables (Results 1 - 2 of 2) sorted by null

  /external/libchrome/base/synchronization/
waitable_event_posix.cc 249 // the array of waitables by address. We actually sort a pairs so that we can
251 std::vector<std::pair<WaitableEvent*, size_t> > waitables; local
252 waitables.reserve(count);
254 waitables.push_back(std::make_pair(raw_waitables[i], i));
256 DCHECK_EQ(count, waitables.size());
258 sort(waitables.begin(), waitables.end(), cmp_fst_addr);
260 // The set of waitables must be distinct. Since we have just sorted by
263 for (size_t i = 0; i < waitables.size() - 1; ++i) {
264 DCHECK(waitables[i].first != waitables[i+1].first)
    [all...]
waitable_event.h 107 // waitables: an array of WaitableEvent pointers
108 // count: the number of elements in @waitables
118 static size_t WaitMany(WaitableEvent** waitables, size_t count);
190 static size_t EnqueueMany(WaiterAndIndex* waitables,

Completed in 827 milliseconds