diff options
author | Elliott Hughes <enh@google.com> | 2014-05-25 03:14:38 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-05-25 03:14:39 +0000 |
commit | 255789e4d12d95dbb8e34cfae7fdc58514843ba5 (patch) | |
tree | f08b347664f3c458b804e89397134f4fb6144506 | |
parent | d4f37110ce4b8439dd30540565f7c73e00cfe2fb (diff) | |
parent | 001707363ddee680d466c88dd330900683dadf63 (diff) | |
download | bionic-255789e4d12d95dbb8e34cfae7fdc58514843ba5.zip bionic-255789e4d12d95dbb8e34cfae7fdc58514843ba5.tar.gz bionic-255789e4d12d95dbb8e34cfae7fdc58514843ba5.tar.bz2 |
Merge "Restore tkill for LP32."
-rw-r--r-- | libc/bionic/ndk_cruft.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/bionic/ndk_cruft.cpp b/libc/bionic/ndk_cruft.cpp index 46cc1f0..4900a8a 100644 --- a/libc/bionic/ndk_cruft.cpp +++ b/libc/bionic/ndk_cruft.cpp @@ -222,4 +222,9 @@ extern "C" int __futex_wait(volatile void* ftx, int value, const struct timespec return __futex(ftx, FUTEX_WAIT, value, timeout); } +// Unity's libmono uses this. +extern "C" int tkill(pid_t tid, int sig) { + return syscall(__NR_tkill, tid, sig); +} + #endif |