Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / June 2005

Tip: Looking for answers? Try searching our database.

RealTime priority thread and GC

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marius Gheorghe - 09 Jun 2005 10:53 GMT
I'm interested to know if having a few threads with the RealTime
priority can somehow "disable" the GC. I know these are not officilay
supported.

Thanks.
Alvin Bruney [MVP - ASP.NET] - 11 Jun 2005 12:28 GMT
No, the GC cannot be disabled in this way.

Signature

Regards,
Alvin Bruney - ASP.NET MVP

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc, Amazon.com etc

> I'm interested to know if having a few threads with the RealTime priority
> can somehow "disable" the GC. I know these are not officilay supported.
>
> Thanks.
john conwell - 15 Jun 2005 00:52 GMT
I dont know if the CLR will allow you to create a thread with a priority of
RealTime, but if it can, then yes, this will affect the GC.  

Any thread with a priority of RealTime (16 - 32) will compete for time with
OS level system threads (incliding threads running JIT and GC) with the
thread scheduler.

The thread scheduler prioritizes all threads based on its priority.  When
its ready to do a context switch to another thread, it just looks for threads
with the highest priority, and if that thread is not in a wait status, it
gets CPU time.  So a thread with priority of 32 will supercede all threads
with a priority <= 31.  Not a good idea.

> I'm interested to know if having a few threads with the RealTime
> priority can somehow "disable" the GC. I know these are not officilay
> supported.
>
> Thanks.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.