commit | 8a0da0b040a743677f20f29548ff3380ffb9a5ed | [log] [tgz] |
---|---|---|
author | David 'Digit' Turner <digit@android.com> | Thu Jul 12 18:51:00 2012 +0200 |
committer | David 'Digit' Turner <digit@android.com> | Wed Oct 17 14:58:16 2012 +0200 |
tree | 3e49c89882791de9b49018c979331bdf11c2812e | |
parent | a1900418af6ce235e1c0ab49055f8ccf07e4ae14 [diff] |
Android ucontext refinements (upstream backport). This is a forward-compatible patch to avoid naming/type conflicts in the near future, when the Android C library will be updated to provide mcontext_t/ucontext_t properly. Note that this changes the naming convention used to access the register values from mcontext_t, to follow current ARM GLibc (this is also the convention being adopted by Android). + Android provides gettid() (all API levels) so use it instead of relying on syscall(). This is a backport of http://code.google.com/p/v8/source/detail?r=12250 See http://code.google.com/p/android/issues/detail?id=34784 for more context. Change-Id: Id1fe5489eea8a51d0210858bf91132191f967822