Search Results

Search: Posts Made By: stewartw
Forum: Programming 04-11-2008
14,800
Posted By stewartw
Ramen Noodle, You are correct. When I...
Ramen Noodle,

You are correct. When I supply the return it terminates. But this is the real story. Below is the original program that had this problem. It uses the NCurses library. I simplified...
Forum: Programming 04-10-2008
14,800
Posted By stewartw
When you run it, the 'q' causes the program to...
When you run it, the 'q' causes the program to quit? I have run this program on Linux 2.6..x (from 9 to 24) and on Solaris 9, and it does not terminate on 'q'. And I have run it on at least 6...
Forum: Programming 04-09-2008
14,800
Posted By stewartw
Not that simple
The lines:

secs = initial / 1000 ;
itimer.it_value.tv_sec = secs;
itimer.it_value.tv_usec = (initial - secs*1000 ) * 1000 ;

set the seconds to 0 and the microseconds to 500,000. That is...
Forum: Programming 04-09-2008
14,800
Posted By stewartw
Runaway SIGALRM signal handler
I have written a program to demonstrate a problem I have encountered when using BSD style asynchronous input using the O_ASYNC flag in conjunction with a real time interval timer sending regular...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 08:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy