Application running on Vista OS
-
I have my app, running one on XP & one on Vista OS. But there is a difference in thread count. XP - 18 , Vista -14 threads. Few threads are not started in my application which is running in Vista OS. So my application in Vista is not fully functioning. Any setting to be done?. I have switched off the UAC in Vista.
-
I have my app, running one on XP & one on Vista OS. But there is a difference in thread count. XP - 18 , Vista -14 threads. Few threads are not started in my application which is running in Vista OS. So my application in Vista is not fully functioning. Any setting to be done?. I have switched off the UAC in Vista.
Elsie wrote:
I have my app, running one on XP & one on Vista OS. But there is a difference in thread count.
What's the differenec in the hardware?? The .NET CLR maintains a managed thread pool. It creates threads the O/S sees and assigns them various tasks depending on what your code is doing or request of the thread pool. The number of threads in the pool is calculated by the .NET CLR, depending on the hardware available and application settings.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009... -
Elsie wrote:
I have my app, running one on XP & one on Vista OS. But there is a difference in thread count.
What's the differenec in the hardware?? The .NET CLR maintains a managed thread pool. It creates threads the O/S sees and assigns them various tasks depending on what your code is doing or request of the thread pool. The number of threads in the pool is calculated by the .NET CLR, depending on the hardware available and application settings.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009... -
Actually the XP is with 512 MB RAM, and Vista OS m/c with 1 GB of RAM. I dont guess, it is due to resource constarint, cos in another Vista setup also we are observing the same behaviour.
In that case, I have no idea. I just covered the .NET managed method.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008
But no longer in 2009...