Fork us on GitHub Follow us on Facebook Follow us on Twitter

Opened 9 years ago

Closed 9 years ago

#272 closed enhancement (fixed)

Need fibril_{mutex,rwlock_read,rwlock_write}_locked()

Reported by: Jakub Jermář Owned by: Jakub Jermář
Priority: minor Milestone: 0.4.3
Component: helenos/lib/c Version:
Keywords: Cc:
Blocker for: Depends on:
See also:

Description

For the sake of checking elementary compliance with locking protocols, it would come handy to have the:

bool fibril_mutex_locked(fibril_mutex_t *);
bool fibril_rwlock_read_locked(fibril_rwlock_t *);
bool fibril_rwlock_write_locked(fibril_rwlock_t *);

interfaces in userspace lib c.

Change History (1)

comment:1 Changed 9 years ago by Jakub Jermář

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.