Content deleted Content added
No edit summary |
No edit summary Tags: Mobile edit Mobile web edit |
||
Line 8:
'''procedure''' EnterCritical() {
'''do''' {
'''while''' (locked == true) '''skip the''' ''// spin until the lock '''''seems''''' free
} '''while''' TestAndSet(locked) ''// actual atomic locking''
}
|