/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to pcilib/lock.h

  • Committer: Suren A. Chilingaryan
  • Date: 2015-10-22 13:57:59 UTC
  • Revision ID: csa@suren.me-20151022135759-nqs5wowy38tvbw09
Documentation update

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
 
51
51
/**
52
52
 * this function gives the identifier name associated to a lock in the kernel space
53
 
 * @param[in] loc - pointer to the lock we want the name
 
53
 * @param[in] lock - pointer to the lock we want the name
54
54
 * @return string corresponding to the name
55
55
 */
56
56
const char *pcilib_lock_get_name(pcilib_lock_t *lock);
64
64
void pcilib_lock_ref(pcilib_lock_t *lock);
65
65
 
66
66
/**
67
 
 * Decrement reference count(number of processes that may access the given lock).
 
67
 * Decrement reference count (number of processes that may access the given lock)
68
68
 * Not thread/process safe unless system supports stdatomic (gcc 4.9+). In this case, the access should be synchronized by the caller
69
69
 * @param[in,out] lock - pointer to initialized lock
70
70
 */