[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <ab40e9c0809160550q411507aeledae30a9f835d09d@mail.gmail.com>
Date: Tue, 16 Sep 2008 14:50:38 +0200
From: "Xu Yang" <risingsunxy@...glemail.com>
To: linux-kernel@...r.kernel.org
Subject: looking for a function
Hi guys,
I am looking for a function that can show me the current thread is
running on which cpu.
e.g I am using pthread to write a multithreaded program, in each
thread I would like to insert such kind of function so that I can know
on which cpu this thread is running on.
which function should be used?
thanks for the help!!
best regards,
Yang
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists