Re: _kern_set_thread_priority

"Salvatore Benedetto" <[email protected]> Sat, 22 Mar 2008 23:37:30 +0000
Newsgroups gmane.os.openbeos.kernel.devel
Message-ID <[email protected]>
On 22/03/2008, Ingo Weinhold <[email protected]> wrote:
>
>  On 2008-03-23 at 00:05:21 [+0100], Salvatore Benedetto <[email protected]>
>
> wrote:
>  > On 18/03/2008, Ingo Weinhold <[email protected]> wrote:
>  > >  On 2008-03-18 at 18:24:57 [+0100], Salvatore Benedetto
>  > >  <[email protected]>
>  > >  wrote:
>  > >
>  > >  > quick question, I can't find the definition of
>  > >  > _kern_set_thread_priority.
>  > >  > Any kind of help is appreciated :)
>  > >
>  > > If you're looking for the userland-side stub function, that part is
>  > >  autogenerated by src/tools/gensyscalls/... and ends up as
>  > >  generated/objects/haiku/x86/common/system/libroot/os/syscalls.S.inc. It
>  > >  is
>  > >  included by src/system/libroot/os/syscalls.S.
>  > >
>  > >  If you're looking for the kernel-side function. It is named
>  > >  _user_set_thread_priority() and can be found in
>  > >  src/system/kernel/thread.cpp.
>  >
>
> > First of all thanks for your reply.
>  >
>  > I was actually trying to understand how the function was implemented,
>  > but now that I noticed, I can't find (using ctags on linux) the
>  > definition of any
>  > _kern* function.
>  >
>  > Are they all generated during build ?
>
>
> Yep, that's what I tried to say. The userland _kern_*() functions are just
>  stub functions that are automatically generated by the build system.
>

It might be the time, but just to make sure I understand, what they
are generated from?
_user_* functions?

Thanks a lot.
-- 
Salvatore Benedetto (a.k.a. emitrax)
Student of Computer Engineer
University of Pisa
www.messinalug.org

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/