[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
In a litle prgram that i use to set the line discipline. I use fcntl.h
Normaly this includes a close() funktion but not in the criss libary.
Shold i, when using cris, just rely on the garbadge collektor and expect the
file to beclosed weni exit the process?
Or is the another way to close my file.
Student at SDU Sønderborg. www.sdu.dk
Writing final project at Danfoss drives. www.danfossdrives.com
Tlf: 74 88 54 62
> -----Original Message-----
> From: Peter Trygg [mailto:email@example.com]
> Sent: Saturday, April 06, 2002 4:45 PM
> To: Pieter Grimmerink; firstname.lastname@example.org
> Subject: Re: Preemptive patch for etrax kernel?
> I recently finnished an application that required
> less than millisecond responce to serial input.
> All I did was to change the HZ #define in param.h
> (found in asm-cris?) from 100 to 2400 and modified
> the definition of SHIFT_HZ.
> If your are pleased with approx 1 ms, 1200 is enough
> and then you can skip modifying SHIFT_HZ.
> I had access to specially designed hardware so we
> used our own drivers.
> If you use the normal serial driver, ensure that
> it is compiled for low-latency, not high-throughput.
> Peter Trygg Peter.Trygg@xxxxxxx.se
> NOW Electronics AB www.now.se
> Knarrarnäsg. 15
> 164 40 Kista
> Sweden --- Pieter Grimmerink
> <email@example.com> skrev: > What would be
> the chances of getting a preemptive
> > schedular patch
> > working on the etrax kernel?
> > Has anyone ever tried this, or can anyone predict
> > what would
> > be necessary to port any of the available patches?
> > Best regards,
> > Pieter Grimmerink
> Hitta snörapporter...
> från 500 olika skidorter i Europa
> på http://se.snow.yahoo.com
- Re: open
- From: Hans-Peter Nilsson <firstname.lastname@example.org>