Chris Friesen wrote:
static inline int down_timeout(struct semaphore * sem, unsigned int
timeout)
{
int ret = down_trylock(sem);
if (!ret)
ret = __down_timeout(sem, timeout);
return ret;
}
Sorry, I think that should be:
static inline int down_timeout(struct semaphore * se
There has been some discussion on lkml about a function that would
either down a semaphore or else abort if it couldn't get the semaphore
in a certain amount of time. Something along the lines of:
down_timeout(struct semaphore *sem, long timeout);
Does something like this exist? Does anyo
2 matches
Mail list logo