diff options
Diffstat (limited to 'pcilib/lock.c')
-rw-r--r-- | pcilib/lock.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pcilib/lock.c b/pcilib/lock.c index 25e12a5..9e7cda2 100644 --- a/pcilib/lock.c +++ b/pcilib/lock.c @@ -22,14 +22,14 @@ * structure to define a lock */ struct pcilib_lock_s { - pthread_mutex_t mutex; /**< the pthread robust mutex itself*/ - pcilib_lock_flags_t flags; /**<flag to define the property of the mutex*/ + pthread_mutex_t mutex; /**< the pthread robust mutex */ + pcilib_lock_flags_t flags; /**< flags to define the type of the mutex */ #ifdef HAVE_STDATOMIC_H - volatile atomic_uint refs; /**< approximate number of processes that may require access to this lock*/ + volatile atomic_uint refs; /**< approximate number of processes that hold the lock initialized, may desynchronize on crashes */ #else /* HAVE_STDATOMIC_H */ - volatile uint32_t refs;/**< approximate number of processes that may require access to this lock*/ + volatile uint32_t refs; /**< approximate number of processes that hold the lock initialized, may desynchronize on crashes */ #endif /* HAVE_STDATOMIC_H */ - char name[]; /**< identifier name to search for a lock*/ + char name[]; /**< lock identifier */ }; |