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

Unified Diff: base/platform_thread_posix.cc

Issue 5693003: Consider PlatformThread::Join() to be blocking IO. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comments for shutdown. Created 10 years 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 | base/platform_thread_win.cc » ('j') | chrome/browser/browser_process_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/platform_thread_posix.cc
diff --git a/base/platform_thread_posix.cc b/base/platform_thread_posix.cc
index e442e9c4571b38859597a68cf1ed3a376271b222..274c5045822ea5b843590c14f8eccc9c247494c7 100644
--- a/base/platform_thread_posix.cc
+++ b/base/platform_thread_posix.cc
@@ -219,5 +219,6 @@ bool PlatformThread::CreateNonJoinable(size_t stack_size, Delegate* delegate) {
// static
void PlatformThread::Join(PlatformThreadHandle thread_handle) {
+ base::ThreadRestrictions::AssertIOAllowed();
Evan Martin 2010/12/10 21:43:04 Perhaps stick a comment in here about how this is
pthread_join(thread_handle, NULL);
}
« no previous file with comments | « no previous file | base/platform_thread_win.cc » ('j') | chrome/browser/browser_process_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698