Abstract:
Techniques for handling events are provided. In one embodiment, a computer system can create a plurality of I/O handles for receiving events. The computer system can further partition the plurality of I/O handles into one or more subsets, where events received via I/O handles in the same subset are correlated and events received via I/O handles in different subsets are uncorrelated. The computer system can then delegate each I/O handle in the plurality of I/O handles to a poll thread in a plurality of poll threads, where I/O handles in the same subset are delegated to the same poll thread.
Abstract:
Techniques for handling events are provided. In one embodiment, a computer system can create a plurality of I/O handles for receiving events. The computer system can further partition the plurality of I/O handles into one or more subsets, where events received via I/O handles in the same subset are correlated and events received via I/O handles in different subsets are uncorrelated. The computer system can then delegate each I/O handle in the plurality of I/O handles to a poll thread in a plurality of poll threads, where I/O handles in the same subset are delegated to the same poll thread.