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

next in thread | previous in thread | raw e-mail | index | archive | help
I'm more after a programming API for this and when i search the web all i
find is people saying it cannot be done on FreeBSD in userspace, yet.

Solaris and Linux can do it but FreeBSD doesn't have this in user space.

Is anyone working on it, what is the status? Will it be part of SMPng?

2009/6/1 nocturnal <swehack@gmail.com>

> 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 ha=
ve
> to be very live or accurate.
>
> Thank you in advance for any info or hints.
>
> --
>
>
> Med v=E4nliga h=E4lsningar
>
> Stefan Midjich aka nocturnal
> [SWEHACK] http://swehack.se
>



--=20


Med v=E4nliga h=E4lsningar

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



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