Patent ID: 7376768

Claim:
A method for writing to multiple recording devices where at least two of the multiple recording devices are configured to respond dissimilarly to a command associated with the writing, comprising: reading data from a data source through a single read thread; filling a circular buffer through the single read thread to a threshold level with data from the data source; generating a plurality of independent write threads from the single read thread, the plurality of independent write threads configured to read from the circular buffer; associating each one of the plurality of independent write threads with one of the multiple recording devices; pausing each of the plurality of independent write threads through a synchronization signal at different buffer elements until an erase operation completes; releasing each of the plurality of independent write threads at different points to initiate a writing session upon completion of the erase operation; detecting when a write thread associated with a fastest one of the multiple recording devices is reading a last available buffer element; and adding at least one additional buffer element to the circular buffer by adjusting an amount of buffer elements in response to the detecting.