You might find what your looking for in there mate. Unfortunately I am not familiar with multithreading.