开发者

C++ 锁

0
  • 示例详解C++中的各种锁

    目录互斥锁(std::mutex)递归互斥锁(std::recursive_mutex)读写锁(std::shared_mutex) C++17开始才有定时互斥锁(std::timed_mutex)递归定时互斥锁(std::recursive_timed_mutex)自旋锁(通常用std::ato[详细]

    2024-11-06 10:50 分类:开发
  • Boost ASIO read X bytes synchroniously into a vector

    I\'ve been attempting to write a client/server app with boost now, so far it sends and receives but I can\'t seem to just read X bytes into a vector.[详细]

    2022-12-28 20:07 分类:问答