看板 FB_hackers 關於我們 聯絡資訊
Dag-Erling Sm繪rgrav wrote: > Sergey Matveychuk <sem@FreeBSD.org> 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 "freebsd-hackers-unsubscribe@freebsd.org"