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

Function rwlockWriteLock

src/library/common/rwlock.c:66–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64
65
66int
67rwlockWriteLock(rwlock_t *_rwlock )
68{
69 BOOLEAN acquired = 0;
70 while(!acquired)
71 acquired = TryAcquireSRWLockExclusive((PSRWLOCK) _rwlock);
72
73 return (acquired != 0);
74}
75
76
77int

Callers 2

lookupMethod · 0.85
discardAllMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected