洞察探索如何利用兼容微信生态的小程序容器,实现跨平台开发,助力金融和车联网行业的数字化转型。
1100
2022-10-29
Async++ 是一个用于C++11的轻量级并发框架
Async++
Async++ is a lightweight concurrency framework for C++11. The concept was inspired by the Microsoft PPL library and the N3428 C++ standard proposal.
Example
Here is a short example which shows some features of Async++:
#include
Supported Platforms
The only requirement to use Async++ is a C++11 compiler and standard library. Unfortunately C++11 is not yet fully implemented on most platforms. Here is the list of OS and compiler combinations which are known to work.
Linux: Works with GCC 4.7+, Clang 3.2+ and Intel compiler 15+.Mac: Works with Apple Clang (using libc++). GCC also works but you must get a recent version (4.7+).iOS: Works with Apple Clang (using libc++). Note: because iOS has no thread local support, the library uses a workaround based on pthreads.Windows: Works with GCC 4.8+ (with pthread-win32) and Visual Studio 2013+.
Building and Installing
Instructions for compiling Async++ and using it in your code are available on the Building and Installing page.
Documentation
The Async++ documentation is split into four parts:
Tasks: This describes task objects which are the core Async++. Reading this first is strongly recommended.Parallel algorithms: This describes functions to run work on ranges in parallel.Schedulers: This describes the low-level details of Async++ and how to customize it.API Reference: This gives detailed descriptions of all the classes and functions available in Async++.
Contact
You can contact me by email at amanieu@gmail.com.
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~