Re: _kern_set_thread_priority
Ingo Weinhold <[email protected]> Sun, 23 Mar 2008 00:24:08 +0100
| Newsgroups | gmane.os.openbeos.kernel.devel |
|---|---|
| Message-ID | <[email protected]> |
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. CU, Ingo ------------------------------------------------------------------------- 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/