What is the difference between mutex and critical section? Please explain from  Linux, Windows perspectives? 
I am programming in C#, would these two terms make a difference. Please post as much as  you can, with examples and such....
Thanks
,
Sure, I'd be happy to help you understand the difference between mutexes and critical sections!
Mutex (short for "mutual exclusion") and critical sections are both synchronization primitives used to protect shared resources from concurrent access. They serve similar purposes, but there are some differences between them.
From a high-level perspective, a critical section is a code block that should be executed atomically. That is, no other thread should be allowed to enter that code block while it is being executed. A mutex is a more general synchronization primitive that can be used to guard not just a
I saw this video where someone says that electromagnetic wave is a chain reaction of electric and magnetic fields creating each other so the chain of wave moves forward.
I wonder where the photon is in this explanation. What is the relation between electromagnetic wave and photon?
Also said that photon is the basic particle of electromagnetic wave, said is my favorite physicist but's explanation confuse me.
I would like to to to clear my question.
Your favorite YouTuber,
Matt
---
Dear Matt,

First, let me clarify a few things about the relationship between electromagnetic waves and photons. An electromagnetic wave is a self-propagating disturbance in the electric and magnetic fields that propagates through a vacuum or through a medium such as air or a dielect