Don't do it. Use the POSIX time functions instead.


On Sat, Jul 07, 2001 at 01:55:45PM +0100, chandu Reddy wrote:
> HI
> 
>    i have doubt that can i call the function "do_gettimeofday." from real
> time
> modules do_gettimeoday from real-time kernel modules. or whether  it will
> block
> rt side becuase of Locks  in Linux side.
> 
> thanks
> chandu
> 
> 
> 
> ----- Original Message -----
> From: Sergio Rui Silva <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, June 19, 2001 3:46 AM
> Subject: Re: [rtl] Hi
> 
> 
> > Yes it does. Besides suporting do_gettimeofday and do settimeofday it also
> > suports reading and changing a variaty of other clocks like CLOCK_REALTIME
> > and CLOCK_GPOS. Beware that RTLinux can use many kinds of clocks and that
> if
> > you want to read the system time (Linux time) you should use CLOCK_GPOS or
> > do_gettimeofday.
> >
> > Sergio Rui Silva
> >
> > FEUP
> >
> > Em Sexta 06 Julho 2001 16:17, escreveste:
> >
> > > > Hi all,
> > >
> > > Does RT Linux support functions to set or get current date and time.
> > >
> > > Thanks,
> > > Sitaram
> > >
> > > SMILE  A  LOT  IT  COSTS  NOTHING
> >
> > ----------------------------------------
> > Content-Type: text/html; charset="iso-8859-1"; name="Anexo: 1"
> > Content-Transfer-Encoding: quoted-printable
> > Content-Description:
> > ----------------------------------------
> > -- [rtl] ---
> > To unsubscribe:
> > echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> > echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> > --
> > For more information on Real-Time Linux see:
> > http://www.rtlinux.org/
> >
> 
> ----- End of forwarded message from [EMAIL PROTECTED] -----
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/

----- End of forwarded message from [EMAIL PROTECTED] -----
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/

Reply via email to