Function RWLock.WriteSync
        
                WriteSync
        
                ()
    
            
            Aquire a write lock on the main thread.
                Public
            
        LockSync WriteSync ()
Aquire a write lock on the main thread.
This method will block until all pending read and write locks have been released.