I do not see the limitation you have described in
Thread::StackWalkFramesEx. Can you please elaborate on where you have
found the limitation?


All static variables are reported to GC through handles.
SystemDomain::CreatePreallocatedExceptions is an example how to create
"static variables" holding references to objects within the unmanaged
part of EE. 

BTW: The same rule applies to static variables in managed code. The
handles for static variables in managed code are allocated in
MethodTable::InstantiateStaticHandles.


-Jan

This posting is provided "AS IS" with no warranties, and confers no
rights.

-----Original Message-----
From: Discussion of the Rotor Shared Source CLI implementation
[mailto:[EMAIL PROTECTED] On Behalf Of Albert Miranda
Sent: Monday, November 24, 2003 2:03 AM
To: [EMAIL PROTECTED]
Subject: [DOTNET-ROTOR] Especial EE Threads

Looking through the function StackWalkFrames we'ver realized the scan
can
only be performed by the GC thread itself or by so called
SpecialEEThreads.
We've created a thread that must perform this scan but cannot do so
because it is not a special thread. How can we identify our thread as
one?

And changing the topic, what happens to static variables within the GC?
Are there static variables within EE, because we haven't found any trace
of them.

Thank you for your time.

RSVP

===================================
This list is hosted by DevelopMentor(r)  http://www.develop.com
NEW! ASP.NET courses you may be interested in:

2 Days of ASP.NET, 29 Sept 2003, in Redmond
http://www.develop.com/courses/2daspdotnet

Guerrilla ASP.NET, 13 Oct 2003, in Boston
http://www.develop.com/courses/gaspdotnet

View archives and manage your subscription(s) at
http://discuss.develop.com

===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com
NEW! ASP.NET courses you may be interested in:

2 Days of ASP.NET, 29 Sept 2003, in Redmond
http://www.develop.com/courses/2daspdotnet

Guerrilla ASP.NET, 13 Oct 2003, in Boston
http://www.develop.com/courses/gaspdotnet

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to