Dag-Erling Smørgrav wrote:
Sergey Matveychuk <[EMAIL PROTECTED]> 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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to