[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <004a01c6cb42$dbdbc110$8940a8c0@liibook>
Date: Tue, 29 Aug 2006 16:12:18 +0800
From: Limeng [李萌] <avlimeng@...gsoft.net>
To: <linux-kernel@...r.kernel.org>
Subject: help
Hi,
How can I get one thread’s LWP id on linux?
The thread is not the main thread, so that getpid() does not work. And the LWP id is not the same as the result by pthread_self().
Any suggestion?
Xixi
2006-8-29
-
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