| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Change-Id: I4af84f912062cd2ff34711c25122fb323f20c032
|
| |\
| |
| |
| | |
Change-Id: I2b9b80a7fa32c56be2b85ff8be0d6e7ac1848afe
|
| | |\
| | |
| | |
| | | |
Change-Id: Ib7fc9c6f79f9b13e2175da137005d8968ea85eaf
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
... 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>
|
| |/ /
| |
| |
| | |
Change-Id: I756d8c26afc37cd7b71117ddbaa02a2cb40fdecb
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Note that this does not change the implementation of conditional variables
which still use shared futexes, independent on the flags being selected.
This will be fixed in a later patch, once our system is modified to use
pthread_condattr_setpshared(attr, PTHREAD_PROCESS_SHARED) properly.
Change-Id: I935de50964cd41f97a13dbfd6626d3407b0406c3
|
| | |
| |
| |
| |
| |
| | |
condvars"
This reverts commit ba9c6f0989ae94778ba2b9f597adc827c9dc81e8.
|
| |/
|
|
|
|
|
|
|
|
| |
Private futexes are a recent kernel addition: faster futexes that cannot be
shared between processes. This patch uses them by default, unless the PROCESS_SHARED
attribute flag is used when creating a mutex and/or conditional variable.
Also introduces pthread_condattr_init/destroy/setpshared/getpshared.
Change-Id: I3a0e2116f467072b046524cb5babc00e41057a53
|
| |
|
|
|
|
|
|
| |
This is used to perform a mutex lock for a given amount of
milliseconds before giving up. Using the _np prefix since this
is absolutely not portable.
Also remove a compiler warning in pthread_attr_getstackaddr
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|