G
Guest
Before I get into the question -- I know .NET isn't the right solution for
this app but it's part of my clients requirements and writing this in C++
isn't an option. That being said -- my app is a stock ticker using the
managed DirectX libraries and the animation needs to be perfectly smooth.
Problem is that the garbage collector will kick in from time to time and
cause my render thread to miss a frame and makes it look like hell (even at
75 hz it's quite noticeable).
Is there any way to prevent managed code to not block on garbage collection?
I know this generally isn't a good idea but all my render thread is doing is
calling Device.Present -- all the other threads aren't critical and can be
suspended. Any ideas would be greatly appreciated.
this app but it's part of my clients requirements and writing this in C++
isn't an option. That being said -- my app is a stock ticker using the
managed DirectX libraries and the animation needs to be perfectly smooth.
Problem is that the garbage collector will kick in from time to time and
cause my render thread to miss a frame and makes it look like hell (even at
75 hz it's quite noticeable).
Is there any way to prevent managed code to not block on garbage collection?
I know this generally isn't a good idea but all my render thread is doing is
calling Device.Present -- all the other threads aren't critical and can be
suspended. Any ideas would be greatly appreciated.