platform_system_core/include/cutils
Andy McFadden ac322da69e Atomic/SMP update.
Added atomic-inline.h.  Added a platform-specific memory barrier call
there.

Added android_atomic_acquire_cmpxchg() and android_atomic_release_store().
Not tested on Mac OS X or SH.

Added memory barrier calls to linux-x86 atomics.  Mac OS X has barrier
functions already.  sh isn't really SMP-ready.  linux-arm needs work
(to be done in a separate change).

Updated the makefile to make the SMP state visible to the code here.
Note that host binaries are NOT built with SMP enabled; while our hosts
are very likely SMP, it's not worth figuring out e.g. whether it's okay
to use the SSE2 mfence instruction or have to use something else.  We
haven't had barriers enabled in host tools before, so there's probably
no need to stat now.

Removed quasiatomic 64-bit calls (now part of Dalvik).

Change-Id: I49e5e6c8abe70f304cdedb9d7b8e6e65f8925815
2010-05-20 21:40:33 -07:00
..
abort_socket.h Helper to perform abortable blocking operations on a socket: 2009-05-20 15:20:30 -07:00
array.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
ashmem.h Merge commit 'goog/master' into merge_master 2009-06-05 15:45:43 -07:00
atomic-inline.h Atomic/SMP update. 2010-05-20 21:40:33 -07:00
atomic.h Atomic/SMP update. 2010-05-20 21:40:33 -07:00
compiler.h fix copyright notice 2009-04-17 15:16:02 -07:00
config_utils.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
cpu_info.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
dir_hash.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
event_tag_map.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
hashmap.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
iosched_policy.h system: Add support for getting/setting i/o priorities and include a userspace tool 2010-02-25 14:02:55 -08:00
jstring.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
log.h Make logcat print both the main and system buffers by default. Make SLOGx macros work. 2010-03-01 13:03:19 -08:00
logd.h Expose the stable/frozen log-related definitions of <cutils/logd.h> into a new header: <android/log.h> 2009-05-29 14:45:04 +02:00
logger.h Make logcat print both the main and system buffers by default. Make SLOGx macros work. 2010-03-01 13:03:19 -08:00
logprint.h Make logcat print both the main and system buffers by default. Make SLOGx macros work. 2010-03-01 13:03:19 -08:00
memory.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
misc.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
mq.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
mspace.h Break out create_contiguous_mspace_with_base 2010-01-26 13:35:20 -08:00
native_handle.h don't use cdefs.h as it breaks the windows build. 2009-05-21 13:08:39 -07:00
open_memstream.h Implementation of open_memstream(). 2010-01-25 15:06:03 -08:00
process_name.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
properties.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
record_stream.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
sched_policy.h cutils: Add support for reading a processes scheduler policy 2009-10-27 12:27:42 -07:00
selector.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
sockets.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
threads.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
tztime.h am 722a5c04: Add support for "standalone months" to tztime\'s strftime(). 2009-05-15 10:15:18 -07:00
uio.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
zygote.h auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00