Protect a row but allow readers
Read the balance of account id = 1 in accounts and make sure no one CHANGES it while you work — but other read-only holders must not be blocked. Another operation already holds such a shared guard on this row. Write a read with the right lock that coexists with other readers.
Connectez-vous pour voir l'historique des soumissions
Se connecterConnectez-vous pour utiliser le Mentor IA
Se connecter