The information about the stack ranges is not available in Rotor. You should be able to add it if you really need to. On Windows, you can get this by information from NT_TIB structure or using VirtualQuery. NT_TIB structure is a convenient way to get the committed stack - check this article http://www.microsoft.com/msj/archive/S2CE.aspx for more info on NT_TIB. VirtualQuery is a convenient way to find the entire stack region reserved for the thread.
Yes, EE stack is formed from frames. "Frame" is a kind of overloaded term though. You may want to take a look at Thread::StackWalkFrames function if you have not already. It is used to walk the stacks next to everywhere in the EE. It may provide a better solution for the problem that you are trying to solve than the stack ranges information. -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: Thursday, November 06, 2003 7:42 AM To: [EMAIL PROTECTED] Subject: [DOTNET-ROTOR] Delimiting Thread Stacks Hello, we need to know how to delimite a thread's stack, as well as how to distinguish one thread's stack from on of another thread. Especially, we need to know where's the base point of the stack for every thread, and although we've been looking through estructures, we haven't been able to find it. Any help with this matter will be welcome, and we'd also like to know if the EE stack is also formed from frames, or there are another structures involved. Thank you very much, RVSP. =================================== 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