🎯تجزیه و تحلیل قفل ها یا lock ها در mutex ها🎯
🔰 توی این قسمت می خواهیم به قول معروف دل و جیگر این رویکرد رو بریزیم ببینیم چجوری عمل می کند.
📍سرفصلش📍
1 Introduction
2. Mutex data structure
2.1 Mutex structure
2.2 Mutex method
3. Add and unlock process
3.1 Simple lock
3.2 Locking is blocked
3.3 Simple unlock
3.4 Unlock and wake up the coroutine
4. Spin process
4.1 What is spin
4.1 Spin conditions
4.2 Advantages of spin
4.3 The problem of spin
5. Mutex mode
4.1 normal mode
4.2 starvation mode
5. Woken status
6. Why do you need to panic for repeated unlocking
7. Programming Tips
7.1 Use defer to avoid deadlock
7.2 Locking and unlocking should app
❌این قسمت ها رو فردا براتون منتشر می کنم
#lock #mutex
➖➖➖➖➖➖➖➖➖
🔰 @gopher_academy
🔰 توی این قسمت می خواهیم به قول معروف دل و جیگر این رویکرد رو بریزیم ببینیم چجوری عمل می کند.
📍سرفصلش📍
1 Introduction
2. Mutex data structure
2.1 Mutex structure
2.2 Mutex method
3. Add and unlock process
3.1 Simple lock
3.2 Locking is blocked
3.3 Simple unlock
3.4 Unlock and wake up the coroutine
4. Spin process
4.1 What is spin
4.1 Spin conditions
4.2 Advantages of spin
4.3 The problem of spin
5. Mutex mode
4.1 normal mode
4.2 starvation mode
5. Woken status
6. Why do you need to panic for repeated unlocking
7. Programming Tips
7.1 Use defer to avoid deadlock
7.2 Locking and unlocking should app
❌این قسمت ها رو فردا براتون منتشر می کنم
#lock #mutex
➖➖➖➖➖➖➖➖➖
🔰 @gopher_academy