A Problem: Blocking System Calls
This lesson discusses the issue that may arise due to blocking calls in an event-based application
We'll cover the following...
Thus far, event-based programming sounds great, right? You program a simple loop and handle events as they arise. You don’t even need to think about locking! But there is an issue: what if an event requires that you issue a system call that might block?
For example, imagine a request comes from a client into a server to read a file from ...