Do you have to use the threadpool? What about something like this?
Code:static void Main(string[] args) { Thread thread1 = new Thread(DrawTopPixels); Thread thread2 = new Thread(DrawBottomPixels); thread1.Start(); thread2.Start(); thread1.Join(); thread2.Join(); Console.WriteLine("Both threads have terminated."); } private static void DrawTopPixels(object obj) { // Code to draw pixels } private static void DrawBottomPixels(object obj) { // Code to draw pixels } }