UST interview question

How multithreading implemented