MarisaMagic | 雾雨魔法店
  • 首页
  • 归档
  • 分类
  • 标签
  • 关于
  • 友链
「C++ 多线程」std::shared_mutex,std::shared_lock

「C++ 多线程」std::shared_mutex,std::shared_lock

std::shared_mutex 基本概念;std::shared_mutex 演变过程;std::shared_mutex 成员函数;std::shared_mutex 配合 std::shared_lock、std::unique_lock 的基本用法。
2024-12-29
追逐繁星 > C++ 多线程
#C++ #多线程 #std::thread #std::mutex #std::shared_mutex
「C++ 多线程」std::recursive_mutex 基本用法

「C++ 多线程」std::recursive_mutex 基本用法

std::recursive_mutex 基本使用方法。
2024-12-28
追逐繁星 > C++ 多线程
#C++ #多线程 #std::thread #std::mutex
「C++ 多线程」std::timed_mutex 基本用法

「C++ 多线程」std::timed_mutex 基本用法

std::timed_mutex 基本使用方法;std::timed_mutex::try_lock_for() 和 std::timed_mutex::try_lock_until()。
2024-12-28
追逐繁星 > C++ 多线程
#C++ #多线程 #std::thread #std::mutex
「C++ 多线程」死锁及 C++ 多线程解决死锁方法

「C++ 多线程」死锁及 C++ 多线程解决死锁方法

死锁的基本概念;死锁产生的条件;C++ 多线程减少死锁的方法;C++ 多线程解决死锁的方法。
2024-12-27
追逐繁星 > C++ 多线程
#C++ #多线程 #std::thread #std::mutex
「C++ 多线程」std::unique_lock 基本用法

「C++ 多线程」std::unique_lock 基本用法

std::unique_lock 的基本概念和使用方法;简单 std::unique_lock 使用代码示例;std::unique_lock 手动加锁解锁;std::defer_lock, std::adopt_lock 等参数的使用:包含搭配 std::unique_lock 的其他成员函数的使用。
2024-12-26
追逐繁星 > C++ 多线程
#C++ #多线程 #std::thread #std::mutex
「C++ 多线程」std::lock_guard 基本用法

「C++ 多线程」std::lock_guard 基本用法

std::lock_guard 的基本概念和使用方法;简单 std::lock_guard 使用代码示例;简单的 std::lock_guard 实际应用示例。
2024-12-26
追逐繁星 > C++ 多线程
#C++ #多线程 #std::thread #std::mutex
「C++ 多线程」std::mutex,lock(), unlock()

「C++ 多线程」std::mutex,lock(), unlock()

互斥锁概念;std::mutex 以及 lock() 和 unlock() 的基本用法;std::mutex 简单应用
2024-12-25
追逐繁星 > C++ 多线程
#C++ #多线程 #std::thread #std::mutex
「C++ 多线程」硬件支持线程数、线程识别

「C++ 多线程」硬件支持线程数、线程识别

硬件支持线程数 hardware_concurrency()、线程识别 get_id()
2024-12-23
追逐繁星 > C++ 多线程
#C++ #多线程 #std::thread
「C++ 多线程」std::thread scoped_thread 实现

「C++ 多线程」std::thread scoped_thread 实现

C++ 多线程用 std::thread 实现一个简单的 scoped_thread 资源管理类,原理是采用了 RAII 机制,确保线程在适当的时候被正确处理。
2024-12-22
追逐繁星 > C++ 多线程
#C++ #多线程 #std::thread
「C++ 多线程」线程归属权及其转移

「C++ 多线程」线程归属权及其转移

C++ 多线程编程中的线程归属权概念、线程归属权转移及代码测试。
2024-12-21
追逐繁星 > C++ 多线程
#C++ #多线程 #std::thread
1…67891011

搜索

载入天数... 载入时分秒...
Blog by MarisaMagic
Made with Hexo Fluid