Re: How to get a kthread ID?
- From: Julian Elischer <julian@xxxxxxxxxxxx>
- Date: Thu, 25 Oct 2007 13:37:53 -0700
Dag-Erling Smørgrav wrote:
Sergey Matveychuk <sem@xxxxxxxxxxx> writes:Is there a possibility to get a kthread ID inside a kthread?
Just like pthread_self(3).
curthread?
well that's a thread pointer, but you are I guess correct because from there
you can get to curthread->td_tid which is the thread ID.
DES
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- References:
- How to get a kthread ID?
- From: Sergey Matveychuk
- Re: How to get a kthread ID?
- From: Dag-Erling Smørgrav
- How to get a kthread ID?
- Prev by Date: FreeBSD.org website problems was: Serial speed for boot device selection prompt
- Next by Date: Re: Serial speed for boot device selection prompt
- Previous by thread: Re: How to get a kthread ID?
- Next by thread: Re: How to get a kthread ID?
- Index(es):