MCPcopy Create free account
hub / github.com/clMathLibraries/clBLAS / rwlockDestroy

Function rwlockDestroy

src/library/common/rwlock.c:42–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42int
43rwlockDestroy(rwlock_t *_rwlock)
44{
45 if (_rwlock == NULL) {
46 /* Mutex is invalid */
47 return 1;
48 }
49
50 free(_rwlock);
51
52 return 0;
53}
54
55int
56rwlockReadLock(rwlock_t *_rwlock )

Callers 1

~clblasFunctorCacheMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected