Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(983)

Unified Diff: src/platform-solaris.cc

Issue 6667030: Use pthread_kill on solaris
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698