I want to know if a program can run two threads at the same time (that is basically what it is used for correct?). But if I were to do a system call in one function where it
Two thread can run concurrently only if it is running on multiple core processor system, but if it has only one core processor then two threads can not run concurrently. So only one thread run at a time and if it finishes its job then the next thread which is on queue take the time.