Re: [DOTNET-ROTOR] GetThread() function

2004-06-22 Thread Barry Bond
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

2004-06-22 Thread Jan Kotas
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

2004-06-22 Thread Archana
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

2004-06-22 Thread Archana
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