mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-27 15:04:17 +00:00
Implement a rwlock_destroy function.
This commit is contained in:
parent
6bd5139cfc
commit
de4ad515e0
5
miner.h
5
miner.h
@ -899,6 +899,11 @@ static inline void _rwlock_init(pthread_rwlock_t *lock, const char *file, const
|
||||
INITLOCK(lock, CGLOCK_RW, file, func, line);
|
||||
}
|
||||
|
||||
static inline void rwlock_destroy(pthread_rwlock_t *lock)
|
||||
{
|
||||
pthread_rwlock_destroy(lock);
|
||||
}
|
||||
|
||||
static inline void _cglock_init(cglock_t *lock, const char *file, const char *func, const int line)
|
||||
{
|
||||
_mutex_init(&lock->mutex, file, func, line);
|
||||
|
Loading…
x
Reference in New Issue
Block a user