summaryrefslogtreecommitdiffstats
path: root/libc/arch-sh
Commit message (Collapse)AuthorAgeFilesLines
* Use private futexes for pthread_mutex_t.David 'Digit' Turner2010-03-181-0/+10
| | | | | | | | | | This does not change the implementation of conditional variables since we're waiting for other system components to properly use pthread_condattr_init/setpshared before that. Also remove an obsolete x86 source file. Change-Id: Ia3e3fbac35b87a534fb04d4381c3c66b975bc8f7
* Revert "bionic: pthread: use private futexes by default for mutexes and ↵Fabrice Di Meglio2010-03-111-18/+0
| | | | | | condvars" This reverts commit ba9c6f0989ae94778ba2b9f597adc827c9dc81e8.
* bionic: pthread: use private futexes by default for mutexes and condvarsDavid 'Digit' Turner2010-03-111-0/+18
| | | | | | | | | | 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
* bonic: libc: cpuacct support for setuid functionsMike Chan2010-03-024-12/+12
| | | | | | | | | Any of the setuid functions now updates /acct/uid/ with its own tid before changing users. This is so we can properly account for cpu time per uid. Change-Id: I34186cf4d5228cac8439e582a9e26c01ef3011e4 Signed-off-by: Mike Chan <mike@android.com>
* add sigaltstack syscallAndrei Popescu2010-03-022-0/+33
|
* bionic: syscalls: Add ioprio_set/ioprio_get syscall wrappersSan Mehat2010-02-233-0/+66
| | | | Signed-off-by: San Mehat <san@google.com>
* Implement clone() C library function properly.David 'Digit' Turner2010-01-253-5/+13
| | | | | | | Only provide an implementation for ARM at the moment, since it requires specific assembly fragments (the standard syscall stubs cannot be used because the child returns in a different stack).
* added and modified bionic code to support SuperH architectureShin-ichiro KAWASAKI2009-09-2831-0/+2637
| | | | | | modified: libc/Android.mk new files: libc/arch-sh/bionic/* new files: libc/arch-sh/include/*
* added syscalls for SuperH which automatically generate by gensyscalls.pyTony Sim2009-07-01156-0/+5149