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); |
} |