Patent ID: 8736889

Claim:
An image forming apparatus, comprising: a storage controller configured to: (i) write image data for one page to a storage device, wherein the image data comprises a plurality of pieces of band data, and (ii) read out the plurality of pieces of band data from the storage device; and a processor configured to control the storage controller, wherein the processor is configured to: (a) generate a write-side process that causes the storage controller to write the plurality of pieces of band data (b) generate a read-side process that causes the storage controller to read out the plurality of pieces of band data; (c) generate a write-side thread and a file write thread by the write-side process; (d) generate a read-side thread and a file read thread by the read-side process; (e) based on the write-side process, cause the write-side thread to notify the read-side thread of an identifier of a storage area within the storage device, then sequentially queue, with the write-side thread, write requests for each of the plurality of pieces of band data in a queue system; (f) based on the file write thread, cause the storage controller to write the plurality of pieces of band data in order of the queued write requests; (g) based on the read-side process and the read-side thread, sequentially queue read requests for each of the plurality of pieces of band data in the queue system when the identifier is received; (h) based on the file read thread, cause the storage controller to read the plurality of pieces of band data in order of the queued read requests, wherein based on reading one of the plurality of pieces of band data, the file read thread is configured to cause the storage controller to read out the one of the plurality of pieces of band data, and wherein one or more of the plurality of pieces of band data is subsequent to the one of the plurality of pieces of band data.