David 'Digit' Turner aa566ea256 ndk: <sched.h>: Add cpu_set_t and related functions to API level 11
Add the following definitions related to cpu affinity to <sched.h>:

- cpu_set_t and associated macros: CPU_ZERO, CPU_SET, CPU_CLR, CPU_ISSET, CPU_EQUAL,
  CPU_COUNT, CPU_AND, CPU_OR, CPU_XOR.

- sched_getcpu(), sched_getaffinity() and sched_setaffinity()

- define macros for dynamically-sized cpu_set_t variables, i.e.:
   CPU_ALLOC_SIZE, CPU_ALLOC, CPU_FREE, CPU_ZERO_S, CPU_SET_S, CPU_CLR_S,
   CPU_ISSET_S, CPU_EQUAL_S, CPU_COUNT_S

NOTE: You must define _GNU_SOURCE before including the header to get them.

Change-Id: I37338573c7af092118e7987420f6a930b6cc24b1
2012-01-11 11:29:10 +01:00
2011-11-01 13:19:12 -07:00
2012-01-09 10:57:13 -08:00
2011-11-30 19:37:55 -08:00
2011-01-12 10:35:32 -08:00
2012-01-10 14:07:23 -08:00
2012-01-05 16:32:03 -08:00
2012-01-10 12:06:12 -08:00
Description
android_development
592 MiB
Languages
PostScript 31.4%
TypeScript 16.9%
C++ 15.5%
Python 11.8%
Java 11.4%
Other 12.7%