LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-02-2006, 03:29 AM   #1
teqno82
LQ Newbie
 
Registered: Jun 2006
Posts: 1

Rep: Reputation: 0
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
 
Old 06-02-2006, 05:59 AM   #2
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with select() fnoyan Programming 3 12-21-2005 03:17 PM
PHP: html Form Select function problem camlinux Programming 2 05-15-2005 08:23 PM
Select() did not select my socket thvo Programming 1 05-08-2005 12:20 AM
Select problem with multiple listeners Fruitbat Programming 3 04-29-2005 12:24 PM
acrobat reader text search and select problem aolq Linux - Software 0 02-17-2004 08:16 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration