MathWorks interview question

How are multi-threaded applications written?