diff options
author | David 'Digit' Turner <digit@google.com> | 2010-12-03 18:04:01 +0100 |
---|---|---|
committer | David 'Digit' Turner <digit@google.com> | 2010-12-06 13:42:54 +0100 |
commit | 72e6fd42421dca80fb2776a9185c186d4a04e5f7 (patch) | |
tree | 322fe185cb1e6bee163cb5c99ed5e1d545ae3c33 /libc/docs | |
parent | 6481b91520150e9664a3c4abc5d2aebdce422f93 (diff) | |
download | bionic-72e6fd42421dca80fb2776a9185c186d4a04e5f7.zip bionic-72e6fd42421dca80fb2776a9185c186d4a04e5f7.tar.gz bionic-72e6fd42421dca80fb2776a9185c186d4a04e5f7.tar.bz2 |
<sched.h>: Add sched_getcpu() and cpu_set_t
This adds the cpu_set_t type definition and related functions
and macros used to handle CPU thread affinity.
sched_getcpu()
sched_setaffinity()
sched_getaffinity()
Change-Id: If382ecafde8926341a88478062b275553645065b
Diffstat (limited to 'libc/docs')
-rw-r--r-- | libc/docs/CHANGES.TXT | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/docs/CHANGES.TXT b/libc/docs/CHANGES.TXT index 67b9e76..8e23c0e 100644 --- a/libc/docs/CHANGES.TXT +++ b/libc/docs/CHANGES.TXT @@ -11,6 +11,9 @@ Differences between current and Android 2.3: - <time.h>: Add timegm(), timelocal(), time2posix() and posix2time() +- <sched.h>: Add sched_getcpu(), sched_getaffinity(), sched_setaffinity(), + cpu_set_t and related macros (e.g. CPU_SETSIZE, CPU_ZERO, CPU_SET, ...) + ------------------------------------------------------------------------------- Differences between Android 2.3 and Android 2.2: |