Reviewers: Vitaly Repeshko,
Message:
The pthread_kill actually does work for us - no crashes in cctest when
applied
with the register sample fix
Description:
Use pthread_kill on solaris
Please review this at http://codereview.chromium.org/6667030/
Affected files:
M src/platform-solaris.cc
Index: src/platform-solaris.cc
diff --git a/src/platform-solaris.cc b/src/platform-solaris.cc
index
7c8effcd4c08caadcc3d60f520f1a641a70b7159..9da3c707bcbc6b8bcb1af525c945cfe2955b4fea
100644
--- a/src/platform-solaris.cc
+++ b/src/platform-solaris.cc
@@ -684,7 +684,7 @@ class Sampler::PlatformData : public Malloced {
// particular thread that may have terminated already. We send the
// signal to the whole process hoping the right thread will get
// it.
- kill(vm_tgid_, SIGPROF);
+ pthread_kill(vm_tid_, SIGPROF);
}
void Sleep(SleepInterval full_or_half) {
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev