> I wonder... does installing .NET framework may effect
> the performance of native process running on the same
> computer?
Well, processes ( or actually threads ) running in the kernel have a priority much higher then ones running in the application, this will have a greater affect on the running applications then threads running in the application layer, this is why it is importent for me to understand where the GC runs...
William DePalo [MVP VC++] - 18 May 2004 22:11 GMT
> Well, processes ( or actually threads ) running in the kernel
> have a priority much higher then ones running in the
> application, this will have a greater affect on the running
> applications then threads running in the application layer,
> ...
Huh? On a platform where all threads are created by the kernel, all threads
are pre-emptively scheduled by the kernel and just about anyone and his
brother can call SetThreadPriority() and SetPriorityClass(), I don't get
your point.
> this is why it is importent for me to understand where the
> GC runs...
Then you might want to start reading here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/d
otnetgcbasics.asp
Regards,
Will
Carl Daniel [VC++ MVP] - 18 May 2004 22:20 GMT
> Well, processes ( or actually threads ) running in the kernel have a
> priority much higher then ones running in the application, this will
> have a greater affect on the running applications then threads
> running in the application layer, this is why it is importent for me
> to understand where the GC runs...
Kernel threads CAN have higher priority - they don't necessarily have higher
priority (for example, consider the thread(s) of the Idle process).
The .NET GC runs as a user-mode thread. Of course, like any other thread,
it transitions in and out of the kernel as it does it's work.
-cd