[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: [rtl] Problems with time and timer!
On Thu, Aug 13, 1998 at 05:46:42PM -0400, cecil ogg wrote:
> Kurt Renauer wrote:
> >
Cecil answered one question. The other one is:
> > 2. I used the timer related functions:
> > I used this timer functions within the program I described before. What I
> > did: ... rt_request_timer ... rt_set_timer... I wrote a timer handler that
> > toggles a LPT Bit ... etc. ...
> > OK! the timer worked, but the periodic tasks did not run?!
> > Why not?
Because you stole the timer interrupt from the scheduler. You should use
the RTC (cmos clock) for this. Use request_rtIRQ for the RTC.
>
> I can't answer this without looking at your source code.
>
> Cecil Ogg
>
> --- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
> echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
--
---------------------------------
Victor Yodaiken
Department of Computer Science
New Mexico Institute of Mining and Technology
Socorro NM 87801
Homepage http://www.cs.nmt.edu/~yodaiken
PowerPC Linux page http://linuxppc.cs.nmt.edu
Real-Time Page http://rtlinux.org
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu