Rev 788 | Rev 1502 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 788 | Rev 1229 | ||
---|---|---|---|
Line 89... | Line 89... | ||
89 | * @param rwl Reader/Writer lock. |
89 | * @param rwl Reader/Writer lock. |
90 | * @param usec Timeout in microseconds. |
90 | * @param usec Timeout in microseconds. |
91 | * @param trylock Switches between blocking and non-blocking mode. |
91 | * @param trylock Switches between blocking and non-blocking mode. |
92 | * |
92 | * |
93 | * For exact description of possible combinations of |
93 | * For exact description of possible combinations of |
94 | * 'usec' and 'trylock', see comment for waitq_sleep_timeout(). |
94 | * @usec and @trylock, see comment for waitq_sleep_timeout(). |
95 | * |
95 | * |
96 | * @return See comment for waitq_sleep_timeout(). |
96 | * @return See comment for waitq_sleep_timeout(). |
97 | */ |
97 | */ |
98 | int _rwlock_write_lock_timeout(rwlock_t *rwl, __u32 usec, int trylock) |
98 | int _rwlock_write_lock_timeout(rwlock_t *rwl, __u32 usec, int trylock) |
99 | { |
99 | { |
Line 143... | Line 143... | ||
143 | * @param rwl Reader/Writer lock. |
143 | * @param rwl Reader/Writer lock. |
144 | * @param usec Timeout in microseconds. |
144 | * @param usec Timeout in microseconds. |
145 | * @param trylock Switches between blocking and non-blocking mode. |
145 | * @param trylock Switches between blocking and non-blocking mode. |
146 | * |
146 | * |
147 | * For exact description of possible combinations of |
147 | * For exact description of possible combinations of |
148 | * 'usec' and 'trylock', see comment for waitq_sleep_timeout(). |
148 | * @usec and @trylock, see comment for waitq_sleep_timeout(). |
149 | * |
149 | * |
150 | * @return See comment for waitq_sleep_timeout(). |
150 | * @return See comment for waitq_sleep_timeout(). |
151 | */ |
151 | */ |
152 | int _rwlock_read_lock_timeout(rwlock_t *rwl, __u32 usec, int trylock) |
152 | int _rwlock_read_lock_timeout(rwlock_t *rwl, __u32 usec, int trylock) |
153 | { |
153 | { |