sosend() and mbuf
Ed Schouten
ed at 80386.nl
Tue Aug 4 09:30:37 UTC 2009
Hi,
* Maslan <maslanbsd at gmail.com> wrote:
> man kthread says:
> The kthread_create() function is used to create a kernel thread. The new
> thread shares its address space with process 0, the swapper process, and
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> runs in kernel mode only.
>
> However, when i checked the pid & tid of the new created thread it was
> not the same as the parent nor as the proc0 & thread0
I am not sure, but sharing another process's address space doesn't have
to imply it shares the same pid, right?
--
Ed Schouten <ed at 80386.nl>
WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20090804/36068bcd/attachment.pgp
More information about the freebsd-hackers
mailing list