B
brambilla
Hi to all !
I develop in VB.NET 2005 an application for Windows CE 6.0 embedded
that run on an x86 device.
My question is:
is more speed executing a delegate (that modify some attributes of
controls created into primary thread) invoked from a secondary thread
or is more speed executing the same modification directly into primary
thread ?
For example:
Is more speed this:
Main Thread:
....
....
SecondaryThreadStart
....
....
InvokeDelegate
....
SecondaryThreadEnd
DelegateStart
....
SOMEMODIFICATION
....
DelegateEnd
Or is more speed this:
Main Thread:
....
SOMEMODIFICATION
....
SecondaryThreadStart
....
....
....
SecondaryThreadEnd
The SOMEMODIFICATION when is executing into primary/main thread and
when into secondary thread ?
Thankyou very much!
Ale
I develop in VB.NET 2005 an application for Windows CE 6.0 embedded
that run on an x86 device.
My question is:
is more speed executing a delegate (that modify some attributes of
controls created into primary thread) invoked from a secondary thread
or is more speed executing the same modification directly into primary
thread ?
For example:
Is more speed this:
Main Thread:
....
....
SecondaryThreadStart
....
....
InvokeDelegate
....
SecondaryThreadEnd
DelegateStart
....
SOMEMODIFICATION
....
DelegateEnd
Or is more speed this:
Main Thread:
....
SOMEMODIFICATION
....
SecondaryThreadStart
....
....
....
SecondaryThreadEnd
The SOMEMODIFICATION when is executing into primary/main thread and
when into secondary thread ?
Thankyou very much!
Ale