diff options
author | André Goddard Rosa <andre.goddard@gmail.com> | 2010-05-19 23:17:16 -0300 |
---|---|---|
committer | André Goddard Rosa <andre.goddard@gmail.com> | 2010-05-19 23:17:16 -0300 |
commit | 78c1c04ced772298be8bdb5a94b6ce491bb9b3e1 (patch) | |
tree | 31881f9114a2e6975f262200685d39141a144013 /libc/include/strings.h | |
parent | 1297428e89ead45849068989d334d8b7eae2f602 (diff) | |
download | bionic-78c1c04ced772298be8bdb5a94b6ce491bb9b3e1.zip bionic-78c1c04ced772298be8bdb5a94b6ce491bb9b3e1.tar.gz bionic-78c1c04ced772298be8bdb5a94b6ce491bb9b3e1.tar.bz2 |
pthread: introduce pthread_setname_np() as a mean to give names to threads
... so that each cloned process at the kernel level can be named
independently. Tools like 'top' can display the CPU/memory statistics
for each process's thread if "Show Threads" mode is on.
With this function in place, we can convert dalvik/Thread.c setThreadName()
function over this function. This feature ought to be provided by the
underlying C library and not coded directly in Dalvik.
Change-Id: Ifa997665dbaa114e0b126f8c667708be9a4137fd
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Diffstat (limited to 'libc/include/strings.h')
0 files changed, 0 insertions, 0 deletions