When to call code after the GC

Ricardo Mendes <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.rotor
Organization GSD / Inesc-ID
Message-ID <004201c3449a$49a9c120$2c05c192@Capitulina>
Hello all,

What is the best place to call managed code after a GC? I tried to call
managed code after the
HELPER_METHOD_FRAME_END(); call in the
FCIMPL1(void, GCInterface::CollectGeneration, INT32 generation) method (in
the comutilnative.cpp file)
but it just keeps on firing assertions. I want to call managed code using
something like FFI. It would be great
to call the code I want from managed code but I don't know if it's possible.
Any ideas regarding a place in which I can call managed code safely after a
GC?

Thanks in advance for any help...

Ricardo Mendes
Distributed Systems Group
INESC-ID Lisbon, Portugal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.