Douglas Bailey
09/04/2009 10:23 AM
post37367
|
Qnet is a special piece -- there are hooks throughout the kernel
messaging code that test whether the message is local or remote and act
differently depending on the result. The Qnet manager itself is known
to the kernel, so the kernel can redirect messages as appropriate.
If you are interested in the kernel code, you can start in ker_fastmsg.c
and follow references to COF_NETCON and net_send. It's a complicated
system, though.
Doug
On Fri, 2009-09-04 at 09:57 -0400, citizen matter wrote:
> first - sorry my english
> I read some docs(sys_arch, neutrino user and programmer guide and etc..) and i can't find one little thing:
> if i send message to remote thread, my Node Descriptor is non zero and kernel must send data to qnet manager.
> 1. How kernel find qnet manager(his pid)?
> 2. How kernel send data to qnet manager? as message or use other way?
>
> thank's
>
>
>
> _______________________________________________
>
> OSMeta
> http://community.qnx.com/sf/go/post37361
>
|
|
|