Skip to content
Browse files

Use pthread_kill on solaris.

Landing patch by Ryan Dahl.

TBR=vegorov@chromium.org

Original review: http://codereview.chromium.org/6667030/

Review URL: http://codereview.chromium.org/6667031

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@7142 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
  • Loading branch information...
1 parent a7ecb91 commit 58269d618df2c87a9d6219394685166ed250ec65 vitalyr@chromium.org committed Mar 11, 2011
Showing with 1 addition and 5 deletions.
  1. +1 −5 src/platform-solaris.cc
View
6 src/platform-solaris.cc
@@ -673,11 +673,7 @@ class Sampler::PlatformData : public Malloced {
void SendProfilingSignal() {
if (!signal_handler_installed_) return;
- // There doesn't seem to be a robust way to deliver a signal to a
- // 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) {

0 comments on commit 58269d6

Please sign in to comment.
Something went wrong with that request. Please try again.