[openbeos] Re: Help with coding.

  • From: François Revol <revol@xxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Wed, 24 Apr 2002 00:53:55 +0200 (MEST)

I see I'm not the only one not having readehead access to my mail box :))))

En réponse à Nathan Whitehorn <nathan.whitehorn@xxxxxxxxxxx>:

> > 
> > this might be a little out of place here, but...
> > 
> > Does anyone know how to access the team_id and thread_id info when 
> > writing
> > a program in C?  Should this be done with a posix function?  There 
> > seemed
> > to be nothing in the Be Book to help this -- perhaps a function that
> > reports the thread_id and/or team_id that the CPU is working on at 
> > that
> > time?
> 
> find_thread(NULL) is your thread. As for team, dig around in OS.h. 
> You'll find something.
> -Nathan
> 
> --
> Fortune Cookie Says:
> 
> Subtlety is the art of saying what you think and getting out of the
> way
> before it is understood.
> 
> 
> 






Other related posts: