Hello All,

Linrad-02.26 will have support for user defined
control of the serial port both under Linux and 
Windows (I hope).

I have added a calendar so now the moon position
will work under Windows. The remaining details
are these three ones:

1) It would be nice to show the CPU load under
Windows. The system monitor uses up a lot of
resources, particularly during startup or when 
the window is moved so it would be nice to not
have to use it. Maybe there is a dll somewhere
that could be used to get this info?

2) The speech processing simulation uses random
numbers. Under Linux the function random() 
returns a random integer between 1 and 2147483647
but I have not found anything suitable in Windows.

I have not found one but it should be
easy to make a quasi-random generator because
the requirements are really low. Is there anyone
who can suggest a suitable (simple) algorithm?

3) Under Linux one has to call sync() to make sure
that data written to a file actually is written to 
the hard disk. It is not enough to call flush(fd)
How is it under Windows? Is there something one
should do to make sure that data written to the
disk really will be in place even if Linrad crashes
so the file is not closed properly?

Calling sync regularly under Linux helps to rearrange
the information on the disk more often thus reducing the
risk that a big reorganization will steal too much CPU 
time and cause interruptions on the A/D or D/A. 


73

Leif / SM5BSZ




#############################################################
This message is sent to you because you are subscribed to
  the mailing list <linrad@antennspecialisten.se>.
To unsubscribe, E-mail to: <[EMAIL PROTECTED]>
To switch to the DIGEST mode, E-mail to <[EMAIL PROTECTED]>
To switch to the INDEX mode, E-mail to <[EMAIL PROTECTED]>
Send administrative queries to  <[EMAIL PROTECTED]>

Reply via email to