Static objects and terminal server
-
I guess this is more a virtual machine question. We struggling with a project that reads a lot of tiny xml files mostly static files to build a action table. Each user can get multiple instances of control interface that uses these action tables. The first obvious enhancement is to build the tables on a back ground thread; though by using a static object the files only have to be read once and shared among the control instances. My question is if there are multiple users on a terminal server machine do they share the same static object? Thanks
-
I guess this is more a virtual machine question. We struggling with a project that reads a lot of tiny xml files mostly static files to build a action table. Each user can get multiple instances of control interface that uses these action tables. The first obvious enhancement is to build the tables on a back ground thread; though by using a static object the files only have to be read once and shared among the control instances. My question is if there are multiple users on a terminal server machine do they share the same static object? Thanks
fredsparkle wrote:
I guess this is more a virtual machine question.
What are you doing in C# thn? ;P
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
-
fredsparkle wrote:
I guess this is more a virtual machine question.
What are you doing in C# thn? ;P
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
Syntax assitance and command history for various command line driven remote interfaces from various vendors.
-
I guess this is more a virtual machine question. We struggling with a project that reads a lot of tiny xml files mostly static files to build a action table. Each user can get multiple instances of control interface that uses these action tables. The first obvious enhancement is to build the tables on a back ground thread; though by using a static object the files only have to be read once and shared among the control instances. My question is if there are multiple users on a terminal server machine do they share the same static object? Thanks
fredsparkle wrote:
My question is if there are multiple users on a terminal server machine do they share the same static object?
No. Each application instance has its own instance of a static object.
Regards Senthil [MVP - Visual C#] _____________________________ My Blog | My Articles | My Flickr | WinMacro