Show which CPU is executing a thread?

nocturnal <[email protected]> Mon, 1 Jun 2009 12:57:46 +0200
Newsgroups gmane.os.freebsd.devel.smp
Message-ID <[email protected]>
I've been searching the web, all i want is to show which CPU is currently
executing a certain thread. Is this info available to me in user space?
Which manuals should i read to do this?

I know Solaris has something about lwp that can show the last CPU used, i
think. I would be happy if FreeBSD had something similar so it doesn't have
to be very live or accurate.

Thank you in advance for any info or hints.

--=20


Med v=E4nliga h=E4lsningar

Stefan Midjich aka nocturnal
[SWEHACK] http://swehack.se
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-smp
To unsubscribe, send any mail to "[email protected]"