Re: Understanding ThreadNo() Syscall

"Bernhard Poess" <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.l4ka.general
Message-ID <[email protected]>
And L4_ThreadNo is not a system call.

-Bernhard

On 12/20/06, Espen Skoglund <[email protected]> wrote:
> [Martin Christian]
> > Hi,
> > would someone please explain to me in short, what I gain from the
> > ThreadNo() Syscall? If I've got something like this:
>
> >> From pingpong.cc line 393:
> >   master_tid = L4_Myself ();
> >   x = L4_ThreadNo(master_tid);
>
> > What ist the difference between x and master_tid?
>
> > According to the Reference Manual, Myself() delivers already the a
> > global ThreadID? So I don't get more information, do I?
>
> You get the thread number part of the thread ID, i.e., that part of
> the thread ID which is not the version field.
>
>         eSk
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.