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

  /external/chromium_org/base/synchronization/
waitable_event_posix.cc 232 // the array of waitables by address. We actually sort a pairs so that we can
234 std::vector<std::pair<WaitableEvent*, size_t> > waitables; local
235 waitables.reserve(count);
237 waitables.push_back(std::make_pair(raw_waitables[i], i));
239 DCHECK_EQ(count, waitables.size());
241 sort(waitables.begin(), waitables.end(), cmp_fst_addr);
243 // The set of waitables must be distinct. Since we have just sorted by
246 for (size_t i = 0; i < waitables.size() - 1; ++i) {
247 DCHECK(waitables[i].first != waitables[i+1].first)
    [all...]
waitable_event.h 88 // waitables: an array of WaitableEvent pointers
89 // count: the number of elements in @waitables
95 static size_t WaitMany(WaitableEvent** waitables, size_t count);
167 static size_t EnqueueMany(WaiterAndIndex* waitables,

Completed in 49 milliseconds