Several programs and getting "hangups"

  • Thread starter Thread starter christery
  • Start date Start date
C

christery

Hi!

I have one program running multiple copys (acting as IP <-> serial
port) of the same program (no connection to eachother) and they all
work fine for a while then some starts slowng down, then others, and
then magically all work fine again...

How did I come to know that?

Just to test the system did a "loop: dir /s goto loop" sorta thing on
all of the clients to load the system with about 20 apps/windows
connected to the server...

Can I prevent this, well I know Windows is not a RTOS but can I at
least control the behaviour by code?

Yes, this is maybe not a straight forward c# q, but I had to ask
somewhere...

Threding the app? (better/worse)
putting all in real-time (should be the same I think exept that it
might prevent me from getting in)
Windows XP is designed to do that?
Write it in assembler on a unix base? (never done that, will not go
there)
Putting in terminal servers (those are the ones Im trying to get rid
of)

//CY
 
Sorry, but it isn't clear what your application does. If multiple instances
are waiting on the same serial port, could your code where you wait for an
open serial port be the problem?
 
Nope, the other way around... it was a PDP 11/84 with terminals
directly conected to it. and then we put terminal serverw working
"backwards" and now I want to get rid of those too... the program is
just taking a port eg 5001 and act as COM1 or in this case TT01

Everyone gets their own port.. and their TT.. no race cond.. as I can
see... it seems just like we (I) get downgraded in CPU, cant figure it
out..

//CY
 
Back
Top