This function is declared in the kos/rwlock.h file.
kos/rwlock.h
void KosRWLockWrite(KosRWLock *rwlock);
Locks the write threads.