memobj_unlock_phys()

Release a lock on a memory object

Synopsis:

#include <memobj/physmem.h>
void memobj_unlock_phys(struct memobj *obj)

Arguments:

obj
A handle to a memory object.

Library:

libmemobj

Description:

The memobj_unlock_phys() function releases a lock on a memory object. Locks are counted. Each call to memobj_lock() increments the counter, and memobj_unlock() decrements it. The object isn't actually unlocked until the count reaches 0.

Page updated: