iai_callgrind::client_requests::helgrind

Function annotate_rwlock_acquired

source
pub fn annotate_rwlock_acquired(lock: *const (), is_writer_lock: bool)
Available on crate feature client_requests_defs only.
Expand description

Report that the lock at address lock has just been acquired

If is_writer_lock is true then it is a writer lock else it is a reader lock.

See also annotate_rwlock_create