Completions resemble the semaphores discussed in Chapter 5 but are implemented on the basis of wait queues. What interests us is the completions interface. Two actors are present on the stage: One is waiting for something to be completed, and the other declares when this completion has happened. Actually, this is a simplification: An arbitrary number of processes can wait for a completion. To represent the ''something'' that the processes wait for to be completed, the kernel uses the following data structure:

Continue reading here: Info

Was this article helpful?

0 0