summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-05-25 03:14:38 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-05-25 03:14:39 +0000
commit255789e4d12d95dbb8e34cfae7fdc58514843ba5 (patch)
treef08b347664f3c458b804e89397134f4fb6144506
parentd4f37110ce4b8439dd30540565f7c73e00cfe2fb (diff)
parent001707363ddee680d466c88dd330900683dadf63 (diff)
downloadbionic-255789e4d12d95dbb8e34cfae7fdc58514843ba5.zip
bionic-255789e4d12d95dbb8e34cfae7fdc58514843ba5.tar.gz
bionic-255789e4d12d95dbb8e34cfae7fdc58514843ba5.tar.bz2
Merge "Restore tkill for LP32."
-rw-r--r--libc/bionic/ndk_cruft.cpp5
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