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

Side by Side Diff: src/platform-openbsd.cc

Issue 9192010: Parallelize cpplint in presubmit and fix usage of DISALLOW_* macros. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
11 // with the distribution. 11 // with the distribution.
(...skipping 904 matching lines...) Expand 10 before | Expand all | Expand 10 after
916 const int vm_tgid_; 916 const int vm_tgid_;
917 const int interval_; 917 const int interval_;
918 RuntimeProfilerRateLimiter rate_limiter_; 918 RuntimeProfilerRateLimiter rate_limiter_;
919 919
920 // Protects the process wide state below. 920 // Protects the process wide state below.
921 static Mutex* mutex_; 921 static Mutex* mutex_;
922 static SignalSender* instance_; 922 static SignalSender* instance_;
923 static bool signal_handler_installed_; 923 static bool signal_handler_installed_;
924 static struct sigaction old_signal_handler_; 924 static struct sigaction old_signal_handler_;
925 925
926 private:
926 DISALLOW_COPY_AND_ASSIGN(SignalSender); 927 DISALLOW_COPY_AND_ASSIGN(SignalSender);
927 }; 928 };
928 929
929 930
930 Mutex* SignalSender::mutex_ = OS::CreateMutex(); 931 Mutex* SignalSender::mutex_ = OS::CreateMutex();
931 SignalSender* SignalSender::instance_ = NULL; 932 SignalSender* SignalSender::instance_ = NULL;
932 struct sigaction SignalSender::old_signal_handler_; 933 struct sigaction SignalSender::old_signal_handler_;
933 bool SignalSender::signal_handler_installed_ = false; 934 bool SignalSender::signal_handler_installed_ = false;
934 935
935 936
(...skipping 21 matching lines...) Expand all
957 958
958 959
959 void Sampler::Stop() { 960 void Sampler::Stop() {
960 ASSERT(IsActive()); 961 ASSERT(IsActive());
961 SignalSender::RemoveActiveSampler(this); 962 SignalSender::RemoveActiveSampler(this);
962 SetActive(false); 963 SetActive(false);
963 } 964 }
964 965
965 966
966 } } // namespace v8::internal 967 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/platform-macos.cc ('k') | src/platform-solaris.cc » ('j') | tools/presubmit.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698