首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C/C++/VC++ > C++面向对象封装pthreads

C++面向对象封装pthreads

  • 资源大小:109.68 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: pthreads 封装 对象 面向

资 源 简 介

Lightweight object-oriented C++ wrapper for pthreads. This is not an abstraction layer for writing multithreaded apps, based on pthreads. Other libs are quite good at it (Boost.thread to name some). This library just allows using pthreads compatible implementation in C++ native manner, using OOP, templates, namespaces, and so on. The understanding of pthreads is still essential. When creating this library, the following goals were set: 1) Portability - uses only standard features of C++ and pthreads 2) User-friendliness - the program should be esaily readable (no pointers and cryptic functions) 3) Takes care of resource deallocation (RAII and other) 4) Lightweight - resides in headers (hopefully one) only. Add it to the project, and you are done!

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
  • 猕猴桃 1小时前 成为了本站会员

  • 11 5小时前 成为了本站会员

  • 开心快活人 8小时前 成为了本站会员

  • 晋财 8小时前 成为了本站会员

  • WYG 1天前 成为了本站会员

  • Shine 1天前 成为了本站会员

  • 柳贻 1天前 成为了本站会员

  • hallelujah_HL 1天前 成为了本站会员

  • 焦昱贺 1天前 成为了本站会员

  • Rubin 1天前 成为了本站会员

0.178037s