This function is declared in the kos/rwlock.h file.
kos/rwlock.h
Retcode KosRWLockTryWrite(KosRWLock *rwlock);
Attempts to lock the write threads.
If successful, the function returns rcOk.