chromium/base/threading/platform_thread.cc

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/threading/platform_thread.h"
#include "base/threading/thread_id_name_manager.h"

#include "base/task/current_thread.h"
#include "third_party/abseil-cpp/absl/base/attributes.h"

#if BUILDFLAG(IS_FUCHSIA)
#include "base/fuchsia/scheduler.h"
#endif

namespace base {

namespace {

ABSL_CONST_INIT thread_local ThreadType current_thread_type =;

}  // namespace

// static
void PlatformThreadBase::SetCurrentThreadType(ThreadType thread_type) {}

// static
ThreadType PlatformThreadBase::GetCurrentThreadType() {}

// static
std::optional<TimeDelta> PlatformThreadBase::GetThreadLeewayOverride() {}

// static
void PlatformThreadBase::SetNameCommon(const std::string& name) {}

namespace internal {

void SetCurrentThreadType(ThreadType thread_type,
                          MessagePumpType pump_type_hint) {}

}  // namespace internal

}  // namespace base