Rev 1757 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1757 | Rev 1780 | ||
|---|---|---|---|
| Line 62... | Line 62... | ||
| 62 | * For exact description of possible combinations of |
62 | * For exact description of possible combinations of |
| 63 | * usec and flags, see comment for waitq_sleep_timeout(). |
63 | * usec and flags, see comment for waitq_sleep_timeout(). |
| 64 | * |
64 | * |
| 65 | * @return See comment for waitq_sleep_timeout(). |
65 | * @return See comment for waitq_sleep_timeout(). |
| 66 | */ |
66 | */ |
| 67 | int _mutex_lock_timeout(mutex_t *mtx, __u32 usec, int flags) |
67 | int _mutex_lock_timeout(mutex_t *mtx, uint32_t usec, int flags) |
| 68 | { |
68 | { |
| 69 | return _semaphore_down_timeout(&mtx->sem, usec, flags); |
69 | return _semaphore_down_timeout(&mtx->sem, usec, flags); |
| 70 | } |
70 | } |
| 71 | 71 | ||
| 72 | /** Release mutex |
72 | /** Release mutex |