[svlug] C process waiting.... and waiting... and waiting.

Richard Gardner noeffort at comcast.net
Sat Sep 25 09:29:13 PDT 2004


While im not a c programmer, can I ask... even though the program has
terminated, has the port and its memory spaces been released back to the
system?

-----Original Message-----
From: svlug-bounces+noeffort=comcast.net at lists.svlug.org
[mailto:svlug-bounces+noeffort=comcast.net at lists.svlug.org] On Behalf Of
Emmanuel Mayssat
Sent: Friday, September 24, 2004 6:00 PM
To: svlug at lists.svlug.org
Subject: [svlug] C process waiting.... and waiting... and waiting.

I have a C program that uses the serial port.
But at exit ( strace tells me that the program actually _exit(0) or exit 
correctly ), the program hangs.
What is it waiting for ?

000 S epics     5934  5148  0  69   0    -   385 wait4  17:44 pts/2 
00:00:00 strace ./build/sendSerial -port=0 -messageList=tr
004 S epics     5935  5934  0  69   0    -     0 tty_wa 17:44 pts/2 
00:00:00 [sendSerial]

Kernel bug?
2.4.20
-- 
Emmanuel


_______________________________________________
svlug mailing list
svlug at lists.svlug.org
http://lists.svlug.org/lists/listinfo/svlug






More information about the svlug mailing list