Rev 1229 | Rev 1264 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1229 | Rev 1248 | ||
---|---|---|---|
Line 49... | Line 49... | ||
49 | * @param mtx Mutex. |
49 | * @param mtx Mutex. |
50 | * @param usec Timeout in microseconds. |
50 | * @param usec Timeout in microseconds. |
51 | * @param trylock Switches between blocking and non-blocking mode. |
51 | * @param trylock Switches between blocking and non-blocking mode. |
52 | * |
52 | * |
53 | * For exact description of possible combinations of |
53 | * For exact description of possible combinations of |
54 | * @usec and @trylock, see comment for waitq_sleep_timeout(). |
54 | * usec and trylock, see comment for waitq_sleep_timeout(). |
55 | * |
55 | * |
56 | * @return See comment for waitq_sleep_timeout(). |
56 | * @return See comment for waitq_sleep_timeout(). |
57 | */ |
57 | */ |
58 | int _mutex_lock_timeout(mutex_t *mtx, __u32 usec, int trylock) |
58 | int _mutex_lock_timeout(mutex_t *mtx, __u32 usec, int trylock) |
59 | { |
59 | { |