Handle file saving/loading on another thread
<p>I've been working on a file/loading method for my project. I'm currently using a pool of worker-threads with a queue of all the IO tasks. There is a timer that runs every 50MS that checks whether or not the queue is empty and executes all the tasks within the queue. All the tasks are added to the queue from various threads that CANNOT be delayed from IO or waiting for the worker threads to complete a task.</p>

<p>Is there alternative solution for what i'm trying to achieve? Like adding a wait that only applies to the worker threads rather then the threads attempting to put IO tasks within them. </p>

<p>Edit: I'd also like to avoid constantly creating new Thread objects. It seems to have a pretty big impact on my applications performance. </p>