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 load process for reading a document from a storage device and loading the document into an application; spawn a load process thread to execute the load process on a first processing core provided by a multi-core central processing unit; spawn an application thread to execute the application on a second processing core of the multi-core processing unit; create a first pipeline for executing the load process thread, wherein the first pipeline performs tasks associated with loading the document into the application; create a second pipeline for executing the application, wherein the second pipeline performs tasks associated with performing operations on the document, and wherein the first pipeline is configured to pass tokens as input to the tasks in the second pipeline; provide a circular queue for storing tokens from the first pipeline and to pass the tokens to the tasks in the second pipeline; and provide a synchronization primitive for regulating access to the circular queue.