Groups > Novell > Novell Libc > Re: getthreadid




getthreadid

getthreadid
Wed, 17 Oct 2007 18:28:56 GMT
The thread id returned from getthreadid() is 4 bytes in size.  This is on 
a 32-bit server with 1GB of RAM.  Under what circumstances if any, would 
the thread id be larger than 4 four bytes.  Does it depend on how much 
available RAM there is or if it is a 64-bit server?

Thanks,
-Carey

Post Reply
Re: getthreadid
Thu, 18 Oct 2007 00:32:28 GMT
Its a 32-bit value.

-- Bob

- - - - - - - - - - - - - - - - -
       Robert Charles Mahar
Traffic Shaping Engine for NetWare
    http://www.TrafficShaper.com
- - - - - - - - - - - - - - - - -


Carey wrote:
> 
> The thread id returned from getthreadid() is 4 bytes in size.  This is 
> on a 32-bit server with 1GB of RAM.  Under what circumstances if any, 
> would the thread id be larger than 4 four bytes.  Does it depend on how 
> much available RAM there is or if it is a 64-bit server?
> 
> Thanks,
> -Carey
> 
Post Reply
Re: getthreadid
Thu, 18 Oct 2007 14:01:30 GMT
Thanks for the answer.


Post Reply
Re: getthreadid
Thu, 18 Oct 2007 18:22:29 GMT
Carey,

It would never be larger than 4 bytes. There is no available RAM dependancy.
NetWare does not run on any 64-bit platforms (well it might run on x86 64,
but it would be in 32 bit mode, and on XEN it will run in a 64 bit linux
environment but it would also be in 32 bit mode).

Jeff Lawson
NetWare Core OS
LibC Engineering

>>> On 10/17/2007 at 12:28 PM, in message
<IvsRi.14978$NG7.12805@kovat.provo.novell.com>,
Carey<bitterfield_carey@emc.com> wrote:

> The thread id returned from getthreadid() is 4 bytes in size.  This is 
> on 
> a 32-bit server with 1GB of RAM.  Under what circumstances if any, would 
> the thread id be larger than 4 four bytes.  Does it depend on how much 
> available RAM there is or if it is a 64-bit server?
> 
> Thanks,
Post Reply
Re: getthreadid
Thu, 18 Oct 2007 22:18:23 GMT
Jeff,

Thanks for the detailed reply!!

Regards,
-Carey

Post Reply
about | contact