d9a741c0282e0e67d110e9b8c2f79b38e573a5ed |
|
05-May-2017 |
Josh Gao <jmgao@google.com> |
Make raise/abort work with stale cached pid/tid values. Switch raise to using tgkill with direct syscalls of getpid/gettid, and switch abort to use raise(SIGABRT). Bug: http://b/37769298 Test: debuggerd_test Change-Id: If6f9d17fd8ae6177e742dc9f2f44bd78539431ba (cherry picked from commit bf2af69fb2ff1365f4075d0207d6a895bc2727ed)
|
bf2af69fb2ff1365f4075d0207d6a895bc2727ed |
|
05-May-2017 |
Josh Gao <jmgao@google.com> |
Make raise/abort work with stale cached pid/tid values. Switch raise to using tgkill with direct syscalls of getpid/gettid, and switch abort to use raise(SIGABRT). Bug: http://b/37769298 Test: debuggerd_test Change-Id: If6f9d17fd8ae6177e742dc9f2f44bd78539431ba
|
40360b379cee07574493f5a450cf1c6e531bdde0 |
|
29-Dec-2014 |
Elliott Hughes <enh@google.com> |
Remove bogus transitive includes. <signal.h> shouldn't get you the contents of <errno.h>, and <fcntl.h> shouldn't get you the contents of <unistd.h>. Change-Id: I347499cd8671bfee98e6b8e875a97cab3a3655d3
|
75ef63d6cf83787233d1c45489c4ec03b0a67d16 |
|
21-Nov-2014 |
Dan Albert <danalbert@google.com> |
Move some pthread functions to signal.h. POSIX specifies that pthread_kill(3) and pthread_sigmask(3) are supposed to live in signal.h rather than pthread.h. Since signal.h now needs pthread_t and pthread_attr_t, I've moved those defintions into include/machine/pthread_types.h to keep the namespace clean. I also sorted some includes. The combination of these two things seems to have exploded into a cascade of missing includes, so this patch also cleans up all those. Change-Id: Icfa92a39432fe83f542a797e5a113289d7e4ad0c
|
d8a5a6f513c6fa99229e9c82c5c308c7cd6b3d54 |
|
08-Dec-2012 |
Chris Dearman <chris@mips.com> |
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
|