Groups | Blog | Home
all groups > dotnet interop > august 2005 >

dotnet interop : C# GC effect on runtime



Tal Shachar
8/29/2005 11:23:43 AM
Hi All,
I would like to get your inputs for the following issue:
I have an application written in C++, and now I'm going to add another
module to it, which I'm going to write in C#, and wrap it as a COM.
The new module is going to interact with the existing application during
runtime (call the application's methods and run some BL according to the
return values). My concern is regarding the GC mechanism of the .NET
environment - I know that there is an effect on the runtime, because of
delay that occurred while the environment calls the GC, but my question is -
can it be that during this "pause", the C++ application, which executes some
other COM's, will miss their return values because the GC was called? or
that while calling the GC, ALL the events/calls are being "paused" and "wake
up" after the delay?

Appreciate your quick response.
Tal.

Mattias Sjögren
8/29/2005 6:43:52 PM

[quoted text, click to view]

No you will not miss any return values.


Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Tal Shachar
8/29/2005 10:30:14 PM
Thanks a lot for your quick response.
[quoted text, click to view]

AddThis Social Bookmark Button