Cander
Mar 28th, 2002, 08:37 AM
Well I would assume that if the OS supports dual processors, it will handle using both when it deems it necessary..Dont know anything much about how dual processors work with the OS..
Well if you want to put that whole loop into a background thread do this..put all that code into a sub called LoopThread()...or whatever you want to call it
add this Import
Imports System.Threading
declare a thread class ref
Private myThread As Thread()
put the sub into the thread and run it
myThread = New Thread(AddressOf LoopThread)
myThread.Start()
that is pretty much all you need for a basic background operation. Thread interop and other things take some more stuff that I dont know yet as I havent studied it yet.
Well if you want to put that whole loop into a background thread do this..put all that code into a sub called LoopThread()...or whatever you want to call it
add this Import
Imports System.Threading
declare a thread class ref
Private myThread As Thread()
put the sub into the thread and run it
myThread = New Thread(AddressOf LoopThread)
myThread.Start()
that is pretty much all you need for a basic background operation. Thread interop and other things take some more stuff that I dont know yet as I havent studied it yet.