SYNOPSIS
- signed long fence_wait_any_timeout(struct fence ** fences, uint32_t count, bool intr, signed long timeout);
ARGUMENTS
fences
- [in] array of fences to wait on
count
- [in] number of fences to wait on
intr
- [in] if true, do an interruptible wait
timeout
- [in] timeout value in jiffies, or MAX_SCHEDULE_TIMEOUT
DESCRIPTION
Synchronous waits for the first fence in the array to be signaled. The caller needs to hold a reference to all fences in the array, otherwise a fence might be freed before return, resulting in undefined behavior.
COPYRIGHT