LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Problem select( ) (https://www.linuxquestions.org/questions/programming-9/problem-select-450813/)

teqno82 06-02-2006 03:29 AM

Problem select( )
 
I am running a program under GNU/linux that has to read from multiple sources. To do that I am using select( ) in my program. The program waits for max. 15sec on an input. When I run the program everything seems to work smooth, input data is read into my program. After the program has runnend I am not able anymore to execute a command in the shell window. When I am opening a new shell window I can run the program one time and the same happens again.

Does anybody know what caused this problem?

Thanks

graemef 06-02-2006 05:59 AM

Are you sure that your program has finished? check with the ps command. First when it is running and then when you believe that it has finished.


All times are GMT -5. The time now is 09:54 PM.