...

/

What Is Still Difficult With Events

What Is Still Difficult With Events

Let's discuss some other issues with the event-based approach for concurrency.

There are a few other difficulties with the event-based approach that we should mention.

On multiple CPUs

When systems moved from a single CPU to multiple CPUs, some of the simplicity of the event-based approach disappeared. Specifically, in order to utilize more than one CPU, the event server has to run multiple event handlers in parallel; when doing so, the usual synchronization problems (e.g., critical sections) arise, and the usual solutions (e.g., locks) must be employed. Thus, on modern multicore systems, simple event handling without locks is no longer possible.

Integration

...