---
title: "Discussion on \"多线程1：C++多线程基础和线程池\" | Hashnode"
description: "Discussion on \"多线程1：C++多线程基础和线程池\". 本章核心：\n\n并发基础知识，如何用C++线程库写出多线程并发程序\n\n并发中的同步机制：竞态条件和互斥锁，条件变量\n\n用1和2的内容实现一个线程池\n\n\n***********************************我是分割线***********************************\n并发很重要，计算机需要通过并发来实现多任务。首先，操作系统本身就是一个很复杂的并发程序。如果没有并"
url: "https://hashnode.com/posts/1-c/69ea33d9904b915438893e06"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [多线程1：C++多线程基础和线程池](https://charizardcomponents.hashnode.dev/1-c?utm_source=hashnode&utm_medium=feed)

本章核心： 并发基础知识，如何用C++线程库写出多线程并发程序 并发中的同步机制：竞态条件和互斥锁，条件变量 用1和2的内容实现一个线程池 \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*我是分割线\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* 并发很重要，计算机需要通过并发来实现多任务。首先，操作系统本身就是一个很复杂的并发程序。如果没有并

Apr 23 · 5 min read · charizardcomponents.hashnode.dev  
Read the article

-   [#multithreading](https://hashnode.com/tag/multithreading)
-   [#cpp](https://hashnode.com/tag/cpp)
-   [#threads](https://hashnode.com/tag/threads)
-   [#threadpools](https://hashnode.com/tag/threadpools)

## Written by

[Charizard](https://hashnode.com/@char1zard)

@char1zard

  
[View profile](https://hashnode.com/@char1zard)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
