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

  /external/chromium/base/synchronization/
waitable_event_posix.cc 226 // the array of waitables by address. We actually sort a pairs so that we can
228 std::vector<std::pair<WaitableEvent*, size_t> > waitables; local
229 waitables.reserve(count);
231 waitables.push_back(std::make_pair(raw_waitables[i], i));
233 DCHECK_EQ(count, waitables.size());
235 sort(waitables.begin(), waitables.end(), cmp_fst_addr);
237 // The set of waitables must be distinct. Since we have just sorted by
240 for (size_t i = 0; i < waitables.size() - 1; ++i) {
241 DCHECK(waitables[i].first != waitables[i+1].first)
    [all...]
waitable_event.h 90 // waitables: an array of WaitableEvent pointers
91 // count: the number of elements in @waitables
97 static size_t WaitMany(WaitableEvent** waitables, size_t count);
166 static size_t EnqueueMany(WaiterAndIndex* waitables,

Completed in 92 milliseconds