6#ifndef THREAD_FIBER_SELECT_H_
7#define THREAD_FIBER_SELECT_H_
9#include "thread/cases.h"
absl::InlinedVector< Case, 4 > CaseArray
Definition cases.h:98
int SelectUntil(absl::Time deadline, const CaseArray &cases)
Returns the index of the first case that is ready, or -1 if the deadline has expired without any case...
Definition select.cc:55
int Select(const CaseArray &cases)
Returns the index of the first case that is ready, blocking until one is.
Definition select.h:18