Subversion Repositories HelenOS-historic

Rev

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

Rev 1702 Rev 1780
Line 52... Line 52...
52
    _mutex_lock_timeout((mtx),(usec),SYNCH_FLAGS_NON_BLOCKING)
52
    _mutex_lock_timeout((mtx),(usec),SYNCH_FLAGS_NON_BLOCKING)
53
#define mutex_lock_active(mtx) \
53
#define mutex_lock_active(mtx) \
54
    while (mutex_trylock((mtx)) != ESYNCH_OK_ATOMIC)
54
    while (mutex_trylock((mtx)) != ESYNCH_OK_ATOMIC)
55
 
55
 
56
extern void mutex_initialize(mutex_t *mtx);
56
extern void mutex_initialize(mutex_t *mtx);
57
extern int _mutex_lock_timeout(mutex_t *mtx, __u32 usec, int flags);
57
extern int _mutex_lock_timeout(mutex_t *mtx, uint32_t usec, int flags);
58
extern void mutex_unlock(mutex_t *mtx);
58
extern void mutex_unlock(mutex_t *mtx);
59
 
59
 
60
#endif
60
#endif
61
 
61
 
62
 /** @}
62
 /** @}