Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 2009 12:57:46 +0200
From:      nocturnal <swehack@gmail.com>
To:        freebsd-smp@freebsd.org
Subject:   Show which CPU is executing a thread?
Message-ID:  <9aed80930906010357w2bf642abk50bbadb6cdf34196@mail.gmail.com>

index | next in thread | raw e-mail

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.

-- 


Med vänliga hälsningar

Stefan Midjich aka nocturnal
[SWEHACK] http://swehack.se


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9aed80930906010357w2bf642abk50bbadb6cdf34196>