[DOTNET-ROTOR] GetThread() function
Hi, some of my modifications (i dont know which) is making GetThread() return NULL. where is this function defined? if possible could you give some hints as to what could possibly be the problem thanks archana === This list is hosted by DevelopMentor® http://www.develop.com ASP.NET courses you may be interested in: Guerrilla ASP.NET 15 March 2004, in Boston, MA 17 May 2004 in Torrance, CA 7 June 2004, London, UK http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com
Re: [DOTNET-ROTOR] GetThread() function
What platform are you running on? FreeBSD? Barry -Original Message- From: Discussion of the Rotor Shared Source CLI implementation [mailto:[EMAIL PROTECTED] On Behalf Of Archana Sent: Tuesday, June 22, 2004 7:58 AM To: [EMAIL PROTECTED] Subject: [DOTNET-ROTOR] GetThread() function Hi, some of my modifications (i dont know which) is making GetThread() return NULL. where is this function defined? if possible could you give some hints as to what could possibly be the problem thanks archana === This list is hosted by DevelopMentor(r) http://www.develop.com ASP.NET courses you may be interested in: Guerrilla ASP.NET 15 March 2004, in Boston, MA 17 May 2004 in Torrance, CA 7 June 2004, London, UK http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com === This list is hosted by DevelopMentor® http://www.develop.com ASP.NET courses you may be interested in: Guerrilla ASP.NET 15 March 2004, in Boston, MA 17 May 2004 in Torrance, CA 7 June 2004, London, UK http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com
Re: [DOTNET-ROTOR] GetThread() function
GetThread() returns non-NULL only if SetupThread() was called on the thread. If you need GetThread() to return non-NULL, you need to call SetupThread() at least once on the thread. GetThread is not a function. It is a pointer to a function. It is defined in threads.h / threads.cpp. It points to GetAppDomainGeneric once the runtime has been initialized. -Jan -Original Message- From: Discussion of the Rotor Shared Source CLI implementation [mailto:[EMAIL PROTECTED] On Behalf Of Archana Sent: Tuesday, June 22, 2004 7:58 AM To: [EMAIL PROTECTED] Subject: [DOTNET-ROTOR] GetThread() function Hi, some of my modifications (i dont know which) is making GetThread() return NULL. where is this function defined? if possible could you give some hints as to what could possibly be the problem thanks archana === This list is hosted by DevelopMentor(r) http://www.develop.com ASP.NET courses you may be interested in: Guerrilla ASP.NET 15 March 2004, in Boston, MA 17 May 2004 in Torrance, CA 7 June 2004, London, UK http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com === This list is hosted by DevelopMentor® http://www.develop.com ASP.NET courses you may be interested in: Guerrilla ASP.NET 15 March 2004, in Boston, MA 17 May 2004 in Torrance, CA 7 June 2004, London, UK http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com
Re: [DOTNET-ROTOR] GetThread() function
I have done some investigation on the SetupThread() function few weeks ago, but I never "stepped into" GetThread(). I did this today and I noticed it points to sscoree!GetThreadGeneric, a function defined in assembly code in sscli\clr\src\vm\i386\asmhelpers.asm. However, this is on Windows XP, and I assume this kind of operations are very platform specific, so high chances to find another definition for other platforms. I hope this helped you, Alex Arion Jan Kotas <[EMAIL PROTECTED]> wrote: GetThread() returns non-NULL only if SetupThread() was called on the thread. If you need GetThread() to return non-NULL, you need to call SetupThread() at least once on the thread. GetThread is not a function. It is a pointer to a function. It is defined in threads.h / threads.cpp. It points to GetAppDomainGeneric once the runtime has been initialized. -Jan -Original Message- From: Discussion of the Rotor Shared Source CLI implementation [mailto:[EMAIL PROTECTED] On Behalf Of Archana Sent: Tuesday, June 22, 2004 7:58 AM To: [EMAIL PROTECTED] Subject: [DOTNET-ROTOR] GetThread() function Hi, some of my modifications (i dont know which) is making GetThread() return NULL. where is this function defined? if possible could you give some hints as to what could possibly be the problem thanks archana === This list is hosted by DevelopMentor(r) http://www.develop.com ASP.NET courses you may be interested in: Guerrilla ASP.NET 15 March 2004, in Boston, MA 17 May 2004 in Torrance, CA 7 June 2004, London, UK http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com === This list is hosted by DevelopMentor® http://www.develop.com ASP.NET courses you may be interested in: Guerrilla ASP.NET 15 March 2004, in Boston, MA 17 May 2004 in Torrance, CA 7 June 2004, London, UK http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com === This list is hosted by DevelopMentor® http://www.develop.com ASP.NET courses you may be interested in: Guerrilla ASP.NET 15 March 2004, in Boston, MA 17 May 2004 in Torrance, CA 7 June 2004, London, UK http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com
Re: [DOTNET-ROTOR] GetThread() function
yes, Free BSD On Tue, 22 Jun 2004, Barry Bond wrote: > What platform are you running on? FreeBSD? > > Barry > > -Original Message- > From: Discussion of the Rotor Shared Source CLI implementation > [mailto:[EMAIL PROTECTED] On Behalf Of Archana > Sent: Tuesday, June 22, 2004 7:58 AM > To: [EMAIL PROTECTED] > Subject: [DOTNET-ROTOR] GetThread() function > > Hi, > some of my modifications (i dont know which) is making GetThread() > return > NULL. where is this function defined? > if possible could you give some hints as to what could possibly be the > problem > thanks > archana > > === > This list is hosted by DevelopMentor(r) http://www.develop.com > ASP.NET courses you may be interested in: > > Guerrilla ASP.NET > 15 March 2004, in Boston, MA > 17 May 2004 in Torrance, CA > 7 June 2004, London, UK > > http://www.develop.com/courses/gaspdotnetls > > View archives and manage your subscription(s) at > http://discuss.develop.com > > === > This list is hosted by DevelopMentor® http://www.develop.com > ASP.NET courses you may be interested in: > > Guerrilla ASP.NET > 15 March 2004, in Boston, MA > 17 May 2004 in Torrance, CA > 7 June 2004, London, UK > > http://www.develop.com/courses/gaspdotnetls > > View archives and manage your subscription(s) at http://discuss.develop.com > -- Regards, Archana === This list is hosted by DevelopMentor® http://www.develop.com ASP.NET courses you may be interested in: Guerrilla ASP.NET 15 March 2004, in Boston, MA 17 May 2004 in Torrance, CA 7 June 2004, London, UK http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com
Re: [DOTNET-ROTOR] GetThread() function
Hi, i tried calling SetupThread() after CreateThread(), but the problem still persists On Tue, 22 Jun 2004, Jan Kotas wrote: > GetThread() returns non-NULL only if SetupThread() was called on the > thread. If you need GetThread() to return non-NULL, you need to call > SetupThread() at least once on the thread. > > GetThread is not a function. It is a pointer to a function. It is > defined in threads.h / threads.cpp. It points to GetAppDomainGeneric > once the runtime has been initialized. > > -Jan > > -Original Message- > From: Discussion of the Rotor Shared Source CLI implementation > [mailto:[EMAIL PROTECTED] On Behalf Of Archana > Sent: Tuesday, June 22, 2004 7:58 AM > To: [EMAIL PROTECTED] > Subject: [DOTNET-ROTOR] GetThread() function > > Hi, > some of my modifications (i dont know which) is making GetThread() > return > NULL. where is this function defined? > if possible could you give some hints as to what could possibly be the > problem > thanks > archana > > === > This list is hosted by DevelopMentor(r) http://www.develop.com > ASP.NET courses you may be interested in: > > Guerrilla ASP.NET > 15 March 2004, in Boston, MA > 17 May 2004 in Torrance, CA > 7 June 2004, London, UK > > http://www.develop.com/courses/gaspdotnetls > > View archives and manage your subscription(s) at > http://discuss.develop.com > > === > This list is hosted by DevelopMentor® http://www.develop.com > ASP.NET courses you may be interested in: > > Guerrilla ASP.NET > 15 March 2004, in Boston, MA > 17 May 2004 in Torrance, CA > 7 June 2004, London, UK > > http://www.develop.com/courses/gaspdotnetls > > View archives and manage your subscription(s) at http://discuss.develop.com > -- Regards, Archana === This list is hosted by DevelopMentor® http://www.develop.com ASP.NET courses you may be interested in: Guerrilla ASP.NET 15 March 2004, in Boston, MA 17 May 2004 in Torrance, CA 7 June 2004, London, UK http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com
Re: [DOTNET-ROTOR] GetThread() function
i had placed the SetupThread() call in the wrong place. it works now, thanks very much archana On Tue, 22 Jun 2004, Jan Kotas wrote: > GetThread() returns non-NULL only if SetupThread() was called on the > thread. If you need GetThread() to return non-NULL, you need to call > SetupThread() at least once on the thread. > > GetThread is not a function. It is a pointer to a function. It is > defined in threads.h / threads.cpp. It points to GetAppDomainGeneric > once the runtime has been initialized. > > -Jan > > -Original Message- > From: Discussion of the Rotor Shared Source CLI implementation > [mailto:[EMAIL PROTECTED] On Behalf Of Archana > Sent: Tuesday, June 22, 2004 7:58 AM > To: [EMAIL PROTECTED] > Subject: [DOTNET-ROTOR] GetThread() function > > Hi, > some of my modifications (i dont know which) is making GetThread() > return > NULL. where is this function defined? > if possible could you give some hints as to what could possibly be the > problem > thanks > archana > > === > This list is hosted by DevelopMentor(r) http://www.develop.com > ASP.NET courses you may be interested in: > > Guerrilla ASP.NET > 15 March 2004, in Boston, MA > 17 May 2004 in Torrance, CA > 7 June 2004, London, UK > > http://www.develop.com/courses/gaspdotnetls > > View archives and manage your subscription(s) at > http://discuss.develop.com > > === > This list is hosted by DevelopMentor® http://www.develop.com > ASP.NET courses you may be interested in: > > Guerrilla ASP.NET > 15 March 2004, in Boston, MA > 17 May 2004 in Torrance, CA > 7 June 2004, London, UK > > http://www.develop.com/courses/gaspdotnetls > > View archives and manage your subscription(s) at http://discuss.develop.com > -- Regards, Archana === This list is hosted by DevelopMentor® http://www.develop.com ASP.NET courses you may be interested in: Guerrilla ASP.NET 15 March 2004, in Boston, MA 17 May 2004 in Torrance, CA 7 June 2004, London, UK http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com