@C++11 Thread support library 概览 线程库中英文对照

C++11的线程支持库提供了线程、互斥量和条件变量等功能,允许程序跨多核执行,确保线程间的同步与资源访问控制。互斥量防止数据竞争,条件变量用于线程等待通知或超时,而未来则涉及异步计算的结果获取。
摘要由CSDN通过智能技术生成

地址:http://en.cppreference.com/w/cpp/thread

Thread support library

 

Threads

Threads enable the program to execute across several processor cores.

 //线程使程序可以跨多个核(心)运行。

Defined in header <thread> //定义在<thread>头文件
 
(C++11)
manages a separate thread //管理一个独立线程
(class)
Functions managing the current thread//管理当前线程的函数
Defined in namespace this_thread //定义在名字空间域this_thread
 
(C++11)
hints the implementation to reschedule execution of threads
(function)//提示实现重新安排线程的执行,即调用yield将降低优先级。
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值