Course stage goals
01 minutes48 secondsThe origin and analysis of scheduler
22 minutes37 secondsIntroduction to GMP model
10 minutes21 secondsScheduler design strategy
09 minutes31 secondsScheduling process of go instruction
07 minutes28 secondsGo's startup cycle M0 and G0
08 minutes06 secondsGMP visual debugging
12 minutes30 secondsGMP terminal GODEBUG debugging
07 minutes53 secondsScenario 1 - Create G
03 minutes17 secondsScenario 2-G is executed
03 minutes00 secondsScenario 3-4-5-Continuous creation of multiple Gs causes the local queue to be full
05 minutes15 secondsScenario 6 - Wake up the sleeping M
03 minutes48 secondsScenario 7 - The awakened M takes G from the global
03 minutes53 secondsScenario 8 - Stealing G
03 minutes32 secondsScenario 9 - Maximum limit of spinning threads
01 minutes51 secondsScenario 10-G call blocking occurs
04 minutes13 secondsScenario 11-G non-blocking occurs
03 minutes18 secondsSummarize
05 minutes45 seconds