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

  /external/chromium/base/
waitable_event_posix.cc 229 // the array of waitables by address. We actually sort a pairs so that we can
231 std::vector<std::pair<WaitableEvent*, size_t> > waitables; local
232 waitables.reserve(count);
234 waitables.push_back(std::make_pair(raw_waitables[i], i));
236 DCHECK_EQ(count, waitables.size());
238 sort(waitables.begin(), waitables.end(), cmp_fst_addr);
240 // The set of waitables must be distinct. Since we have just sorted by
243 for (size_t i = 0; i < waitables.size() - 1; ++i) {
244 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);
171 static size_t EnqueueMany(WaiterAndIndex* waitables,

Completed in 29 milliseconds