OSDN Git Service

Use pthread_kill() in raise()
authorChris Dearman <chris@mips.com>
Sat, 8 Dec 2012 02:41:10 +0000 (18:41 -0800)
committerElliott Hughes <enh@google.com>
Mon, 10 Dec 2012 19:20:57 +0000 (11:20 -0800)
commitd8a5a6f513c6fa99229e9c82c5c308c7cd6b3d54
tree1237090d7651fdb2374c60d94e7e1d8f75cd4e35
parent6fcf1770e5829b8439b7e7ed7efb39ee5d425e23
Use pthread_kill() in raise()

raise() should use pthread_kill() in a pthreads environment.
For bionic this means it should always be used.

Change-Id: Ic679272b664d2b8a7068b628fb83a9f7395c441f
libc/Android.mk
libc/bionic/raise.cpp [moved from libc/bionic/raise.c with 90% similarity]
tests/signal_test.cpp