realtime thread ?

  • Thread starter Thread starter aikwee
  • Start date Start date
Yes. However, is this really what you want to do?

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 3rd
Edition ISBN 1-890422-27-4 (391 pages) published February 2002.
 
Hello,

aikwee said:
is it possible to make a thread priority to realtime mode in vb.net ?

Have a look at the property Thread.Priority.

HTH,
Herfried K. Wagner
 
accidently posted twice...

Thread.Priority can set up to "High" only .

I notice this from windows 2000 's task manager, whereby i can right click
on highlighted process and set their thread priority to "Realtime" , my
application got a performance boost from that .... so i just figure if i can
set my application thread to "Realtime"...
 
By all logic for a thread to be "true" real time.. it woulud have to be the
ONLY thread running at a time.

That way, there would be no processing swapping in and out of memory between
threads.

But honestly, fast enough processer, good amount of memroy, you'll lose lise
..000001 seconds every hour...

so if your that into it... diagnose your times, and compensate...

I think they did this in a movie once... oh yeah.. Entrapement. =)
 
Hi,

You may want to take a look at my "essay" on Real-time programming in my PC
Data Acquisition pages (see my homepage). While I was commenting on setting
an application priority to Real-time, the overall thrust will be similar for
a thread. IMO, High is as "high" as you should go, except for very limited
time periods.

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 3rd
Edition ISBN 1-890422-27-4 (391 pages) published February 2002.
 
Back
Top