Re: _kern_set_thread_priority

"Salvatore Benedetto" <[email protected]> Sat, 22 Mar 2008 23:05:21 +0000
Newsgroups gmane.os.openbeos.kernel.devel
Message-ID <[email protected]>
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.
>
>  CU, Ingo
>

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 ?

Thanks,
-- 
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/