Problem with select in Linux!

2001-05-11 Thread npunmia
server itself ( which is waiting on events on that sockfd also) . When i tried the above thing on SunOS 5.5.1 it worked perfectly fine! (See attached file: server.c) The output of this program is as follows: [npunmia@msatpd1 tm1]$ ./a.out In Test Manager main function ! Signal

Re: RTC !

2001-04-21 Thread npunmia
Can someone help me with this !!! With Regards, --Niraj Niraj Punmia 04/21/2001 03:42 PM To: Jesper Juhl <[EMAIL PROTECTED]> cc: Subject: Re: RTC ! (Document link not converted) The version of gcc , i am using is also egcs-2.91.66 !! How come i am getting this problem??? Jesper Juh

RTC !

2001-04-20 Thread npunmia
Hi, When i compiled the following program , (taken from /usr/src/linux/Documentation/rtc.txt ) (See attached file: rtc2.c) it gave me the following error: [root@msatuts1 timer1]# gcc -s -Wall -Wstrict-prototypes rtc2.c -o rtc2 In file included from rtc2.c:17: /usr/include/linux/mc146818rt

RTC !!

2001-04-12 Thread npunmia
Hi , The RTC interrupt is programmable from 2 Hz to 8192 Hz, in powers of 2. So the interrupts that you could get are one of the following: 0.122ms, .244ms, .488ms, .977ms, 1.953ms, 3.906ms, 7.813ms, and so on.Is there any workaround , so that i can use RTC for meeting my requirement

1.6666.... ms interrupts needed!!

2001-04-09 Thread npunmia
Hi. We are simulating air interface of GPRS on LAN. A TDMA(time division multiple access) frame duration is 40ms. Each TDMA frame consists of 24 timeslots. Each timeslot is of 40/24 ms (i.e 1.6...ms) . To know what current timeslot it is, we need a timer interrupt after every 1.666