Don't allow other threads to access the primary buffer while the