I wonder what happens in the background when calling a blocking function. Let's take recv() for example.
When that function gets called, is there another process outside my program that uses some mutex-like function to block my thread / process? (And there, the other process sits in an endless loop waiting for an update)
Can someone please give me better insight into how it works. It feels like somewhere there must be a loop that spins endlessly