IOCommandPool
Manipulates a pool of commands which inherit from IOCommand.
Declaration
class IOCommandPool : OSObjectOverview
The IOCommandPool class is used to manipulate a pool of commands which inherit from IOCommand. It includes a factory method to create a pool of a certain size. Once the factory method is invoked, the semaphore is set to zero. The caller must then put commands in the pool by creating the command (via the controller's factory method or a memory allocation) and calling the returnCommand method with the newly created command as its argument.
Topics
Miscellaneous
commandPoolgatedGetCommandgatedReturnCommandgetCommandinitinitWithWorkLoopreturnCommandwithWorkLoop(IOService *, IOWorkLoop *, UInt32)withWorkLoop(IOWorkLoop *)
Constants
DataTypes
Instance Variables
Instance Methods
freegatedGetCommandgatedReturnCommandgetCommandgetMetaClassinitinitinitWithQueueinitWithWorkLoopreturnCommand