[plug] Scheduling Problems

Steve Baker sbaker at icg.net.au
Thu May 18 14:53:09 WST 2000


The obvious solution is to fork off 100 children to monitor the port - if
they each have a 10ms time slice then one of them should pick up the data
instantly! ;-)

bakes
--
Steve Baker sbaker at icg.net.au - Integra Consulting Grp http://www.icg.net.au
Open your mind, then look at http://www.nexusmagazine.com

-----Original Message-----
From: Denis Brown <dsbrown at cyllene.uwa.edu.au>
To: plug at plug.linux.org.au <plug at plug.linux.org.au>
Date: Thursday, 18 May 2000 14:20
Subject: Re: [plug] Scheduling Problems


>Brad and list,
>
>Would "nice" help, by assigning your process a higher priority?
>
>Alternatively, would it be reasonable to fork a child process after the
>port write?  The child reads the serial port result and returns it to the
>parent.  Enough time lapse during fork for the data to become available?
>
>Cheers,
>Denis
>




More information about the plug mailing list