Optum Interview Question

How we can code multithreading?