KTU 2024 Scheme | S4 CS | PCCST403 | OPERATING SYSTEMS | MODULE 2- Spin Locks with Test And-Set
Автор: Binary Board
Загружено: 2026-01-01
Просмотров: 655
Описание:
This video covers the following topics:
1. Spin Locks
2.Test-and-Set (TSL)
Test and Set is an atomic hardware instruction used for synchronization, ensuring only one process enters a critical section at a time by setting a shared lock variable to 1 and returning its old value in a single, uninterruptible step, preventing race conditions and enabling mutual exclusion. It works by checking if the lock (a boolean/binary variable) is 0 (unlocked) and, if so, setting it to 1 (locked) and allowing entry; if already 1, the process waits (busy-waits) until the lock is released.
#ktubtech #2024scheme #module2 #cse #os #testandset #spinlocks
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: