/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/locking.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:
67
67
 *this function verify if the lock requested exists in the kernel space. If yes, then nothing is done, else we create the lock in the kernel space. This function also gives the number of processes that may request the lock afterwards, including the one that just created it. 
68
68
 *@param[in] ctx - the pcilib_t structure running
69
69
 *@param[in] flags - the flag defining the property of the lock
70
 
 *@param[in@ lock_id - the identifier name for the lock
 
70
 *@param[in] lock_id - the identifier name for the lock
71
71
 *@return the corresponding lock, or a new one if it did not exist before
72
72
 */
73
73
pcilib_lock_t *pcilib_get_lock(pcilib_t *ctx, pcilib_lock_flags_t flags, const char *lock_id, ...);