The lock-for-read operation in this setup is: Input: mutex m, condition variable c, integer r (number of readers waiting), flag w (writer waiting).
Az olvasó zárolás a következő: Input: mutex m, condition variable c, integer r (number of readers waiting), flag w (writer waiting).