1. A computer-readable storage medium that is not a signal, the computer-readable storage medium having computer-executable instructions stored thereon that, when executed by a computer, cause the computer to: provide a save process for writing at least one document from at least one application, and storing the document into at least one storage device; spawn an application thread to execute the application on a first processing unit; spawn a save process thread to execute the save process on at least a second processing unit; spawn a first pipeline for executing the application thread, wherein the first pipeline is for performing a plurality of tasks associated with operating on at least the one document; create at least a second pipeline for executing the save process thread, wherein the second pipeline is for performing a plurality of tasks associated with writing at least the one document to the storage device, wherein the tasks in the first pipeline are configured to pass tokens as input to the tasks in the second pipeline; provide a circular queue to store tokens received from the first pipeline and to pass the tokens to the tasks in the second pipeline; and providing at least one synchronization primitive for regulating access to the circular queue.