Subversion Repositories HelenOS-historic

Rev

Rev 1757 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1757 Rev 1780
Line 99... Line 99...
99
 * For exact description of possible combinations of
99
 * For exact description of possible combinations of
100
 * usec and flags, see comment for waitq_sleep_timeout().
100
 * usec and flags, see comment for waitq_sleep_timeout().
101
 *
101
 *
102
 * @return See comment for waitq_sleep_timeout().
102
 * @return See comment for waitq_sleep_timeout().
103
 */
103
 */
104
int _rwlock_write_lock_timeout(rwlock_t *rwl, __u32 usec, int flags)
104
int _rwlock_write_lock_timeout(rwlock_t *rwl, uint32_t usec, int flags)
105
{
105
{
106
    ipl_t ipl;
106
    ipl_t ipl;
107
    int rc;
107
    int rc;
108
   
108
   
109
    ipl = interrupts_disable();
109
    ipl = interrupts_disable();
Line 153... Line 153...
153
 * For exact description of possible combinations of
153
 * For exact description of possible combinations of
154
 * usec and flags, see comment for waitq_sleep_timeout().
154
 * usec and flags, see comment for waitq_sleep_timeout().
155
 *
155
 *
156
 * @return See comment for waitq_sleep_timeout().
156
 * @return See comment for waitq_sleep_timeout().
157
 */
157
 */
158
int _rwlock_read_lock_timeout(rwlock_t *rwl, __u32 usec, int flags)
158
int _rwlock_read_lock_timeout(rwlock_t *rwl, uint32_t usec, int flags)
159
{
159
{
160
    int rc;
160
    int rc;
161
    ipl_t ipl;
161
    ipl_t ipl;
162
   
162
   
163
    ipl = interrupts_disable();
163
    ipl = interrupts_disable();