I have a large C program which executes continuously, that is listening to the user inputs, it is in an event loop. Now I want to have two different functions in that code to be executed simultaneously, in parallel. I tried to use fork() but the problem is in fork each process will be executed after the other one has exited, but my program never exit. Using pthreads didnt help...
Any ideas, maybe I'm missing something!
Edited by manaila: n/a