folly/folly/executors/GlobalThreadPoolList.cpp

/*
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#include <folly/executors/GlobalThreadPoolList.h>
#include <folly/system/ThreadId.h>

#include <memory>
#include <string>
#include <vector>

#include <folly/CppAttributes.h>
#include <folly/Indestructible.h>
#include <folly/Synchronized.h>
#include <folly/ThreadLocal.h>

namespace folly {

namespace debugger_detail {

class ThreadListHook {};

class GlobalThreadPoolListImpl {};

class GlobalThreadPoolList {};

GlobalThreadPoolList* GlobalThreadPoolList::debug;

GlobalThreadPoolList& GlobalThreadPoolList::instance() {}

void GlobalThreadPoolList::registerThreadPool(
    ThreadPoolListHook* threadPoolId, std::string name) {}

void GlobalThreadPoolList::unregisterThreadPool(
    ThreadPoolListHook* threadPoolId) {}

void GlobalThreadPoolList::registerThreadPoolThread(
    ThreadPoolListHook* threadPoolId,
    std::thread::id threadId,
    uint64_t osThreadId) {}

void GlobalThreadPoolList::unregisterThreadPoolThread(
    ThreadPoolListHook* threadPoolId, std::thread::id threadId) {}

void GlobalThreadPoolListImpl::registerThreadPool(
    ThreadPoolListHook* threadPoolId, std::string name) {}

void GlobalThreadPoolListImpl::unregisterThreadPool(
    ThreadPoolListHook* threadPoolId) {}

void GlobalThreadPoolListImpl::registerThreadPoolThread(
    ThreadPoolListHook* threadPoolId,
    std::thread::id threadId,
    uint64_t osThreadId) {}

void GlobalThreadPoolListImpl::unregisterThreadPoolThread(
    ThreadPoolListHook* threadPoolId, std::thread::id threadId) {}

ThreadListHook::ThreadListHook(
    ThreadPoolListHook* poolId, std::thread::id threadId, uint64_t osThreadId) {}

ThreadListHook::~ThreadListHook() {}

} // namespace debugger_detail

ThreadPoolListHook::ThreadPoolListHook(std::string name) {}

ThreadPoolListHook::~ThreadPoolListHook() {}

void ThreadPoolListHook::registerThread() {}

} // namespace folly