积分充值
 首页
前端开发
AngularDartElectronFlutterHTML/CSSJavaScriptReactSvelteTypeScriptVue.js构建工具
后端开发
.NetC#C++C语言DenoffmpegGoIdrisJavaJuliaKotlinLeanMakefilenimNode.jsPascalPHPPythonRISC-VRubyRustSwiftUML其它语言区块链开发测试微服务敏捷开发架构设计汇编语言
数据库
Apache DorisApache HBaseCassandraClickHouseFirebirdGreenplumMongoDBMySQLPieCloudDBPostgreSQLRedisSQLSQLiteTiDBVitess数据库中间件数据库工具数据库设计
系统运维
AndroidDevOpshttpdJenkinsLinuxPrometheusTraefikZabbix存储网络与安全
云计算&大数据
Apache APISIXApache FlinkApache KarafApache KyuubiApache OzonedaprDockerHadoopHarborIstioKubernetesOpenShiftPandasrancherRocketMQServerlessService MeshVirtualBoxVMWare云原生CNCF机器学习边缘计算
综合其他
BlenderGIMPKiCadKritaWeblate产品与服务人工智能亿图数据可视化版本控制笔试面试
文库资料
前端
AngularAnt DesignBabelBootstrapChart.jsCSS3EchartsElectronHighchartsHTML/CSSHTML5JavaScriptJerryScriptJestReactSassTypeScriptVue前端工具小程序
后端
.NETApacheC/C++C#CMakeCrystalDartDenoDjangoDubboErlangFastifyFlaskGinGoGoFrameGuzzleIrisJavaJuliaLispLLVMLuaMatplotlibMicronautnimNode.jsPerlPHPPythonQtRPCRubyRustR语言ScalaShellVlangwasmYewZephirZig算法
移动端
AndroidAPP工具FlutterFramework7HarmonyHippyIoniciOSkotlinNativeObject-CPWAReactSwiftuni-appWeex
数据库
ApacheArangoDBCassandraClickHouseCouchDBCrateDBDB2DocumentDBDorisDragonflyDBEdgeDBetcdFirebirdGaussDBGraphGreenPlumHStreamDBHugeGraphimmudbIndexedDBInfluxDBIoTDBKey-ValueKitDBLevelDBM3DBMatrixOneMilvusMongoDBMySQLNavicatNebulaNewSQLNoSQLOceanBaseOpenTSDBOracleOrientDBPostgreSQLPrestoDBQuestDBRedisRocksDBSequoiaDBServerSkytableSQLSQLiteTiDBTiKVTimescaleDBYugabyteDB关系型数据库数据库数据库ORM数据库中间件数据库工具时序数据库
云计算&大数据
ActiveMQAerakiAgentAlluxioAntreaApacheApache APISIXAPISIXBFEBitBookKeeperChaosChoerodonCiliumCloudStackConsulDaprDataEaseDC/OSDockerDrillDruidElasticJobElasticSearchEnvoyErdaFlinkFluentGrafanaHadoopHarborHelmHudiInLongKafkaKnativeKongKubeCubeKubeEdgeKubeflowKubeOperatorKubernetesKubeSphereKubeVelaKumaKylinLibcloudLinkerdLonghornMeiliSearchMeshNacosNATSOKDOpenOpenEBSOpenKruiseOpenPitrixOpenSearchOpenStackOpenTracingOzonePaddlePaddlePolicyPulsarPyTorchRainbondRancherRediSearchScikit-learnServerlessShardingSphereShenYuSparkStormSupersetXuperChainZadig云原生CNCF人工智能区块链数据挖掘机器学习深度学习算法工程边缘计算
UI&美工&设计
BlenderKritaSketchUI设计
网络&系统&运维
AnsibleApacheAWKCeleryCephCI/CDCurveDevOpsGoCDHAProxyIstioJenkinsJumpServerLinuxMacNginxOpenRestyPrometheusServertraefikTrafficUnixWindowsZabbixZipkin安全防护系统内核网络运维监控
综合其它
文章资讯
 上传文档  发布文章  登录账户
IT文库
  • 综合
  • 文档
  • 文章

无数据

分类

全部后端开发(92)C++(92)Conan(35)

语言

全部英语(90)中文(简体)(1)英语(1)

格式

全部PDF文档 PDF(82)TXT文档 TXT(7)PPT文档 PPT(3)
 
本次搜索耗时 0.015 秒,为您找到相关结果约 92 个.
  • 全部
  • 后端开发
  • C++
  • Conan
  • 全部
  • 英语
  • 中文(简体)
  • 英语
  • 全部
  • PDF文档 PDF
  • TXT文档 TXT
  • PPT文档 PPT
  • 默认排序
  • 最新排序
  • 页数排序
  • 大小排序
  • 全部时间
  • 最近一天
  • 最近一周
  • 最近一个月
  • 最近三个月
  • 最近半年
  • 最近一年
  • pdf文档 How Meta Made Debugging Async Code Easier with Coroutines and Senders

    … … Stack Traces for Async Code are Unhelpful Threadpool threads: #0 process_file(...) #5 pool.run() #10 __clone … … IO Thread: #0 async_read_some_at(...) #3 ctx Threadpool threads: #0 process_file(...) #5 pool.run() #10 … IO Thread: … #0 async_read_some_at(...) #3 ctx.run() #5 __clone … … Main thread: #0 unifex::sync_wait( … #0 async_read_some_at(...) … #12 unifex::sync_wait(...) #16 main() #19 __libc_start_main() … … Async Stacks are BetterStructured Concurrency Makes Async Stacks Possible
    0 码力 | 131 页 | 907.41 KB | 5 月前
    3
  • pdf文档 Deciphering C++ Coroutines

    Cheat Sheet - Awaitable 1 struct Awaitable { 2 bool await_ready (); 3 auto await_suspend (std:: coroutine_handle < promise_type >); 4 auto await_resume (); 5 };12/55 Cheat Sheet: Map of Coroutine Land13/55 Task18/55 Threads - A straightforward solution std::future spawn_task () { return std:: async( outer_function ); }18/55 Threads - A straightforward solution main() spawn task()18/55 Threads auto data = co_await async_io (...); co_return IoResult :: from_io_data(data ); }24/55 Suspending nested coroutines Async inner_function () { auto data = co_await async_io (...); co_return
    0 码力 | 156 页 | 1.79 MB | 5 月前
    3
  • pdf文档 Coroutines and Structured Concurrency in Practice

    demonstrated to justify switchingCallbacks vs coroutines // read length auto len = make_unique(); async_read(socket, buffer(len.get(), sizeof(int32_t)), [len = move(len)](auto ec, size_t len1){ && len1 == sizeof(int32_t)) { // read data auto buf = make_unique(*len); async_read(socket, buffer(buf.get(), *len), [buf = move(buf), len = *len] (auto // read length int32_t len; co_await async_read(s, buffer(&len, sizeof(len)), use_awaitable); // read data auto buf = make_unique(len); co_await async_read(s, buffer(buf.get(), len)
    0 码力 | 103 页 | 1.98 MB | 5 月前
    3
  • ppt文档 Working with Asynchrony Generically: A Tour of C++ Executors

    Goals for the Executors proposal 2. Some simple examples, intro to senders 3. The lifecycle of an async operation 4. Under the hood of a concurrent operation 5. Implementing a simple algorithm 6. Senders THE EXECUTORS PROPOSAL The vision: “An asynchronous analog of the STL” • A full suite of standard async algorithms based on real-world requirements: E.g., then, when_all, sync_wait, repeat, stop_when, compute resource (aka, scheduler) • A unit of lazy async work (aka, sender) • A completion handler (aka, receiver) • A small, initial set of generic async algorithms: • E.g., then, when_all, sync_wait,
    0 码力 | 121 页 | 7.73 MB | 5 月前
    3
  • pdf文档 Coroutine Patterns and How to Use Them: Problems and Solutions Using Coroutines in a Modern Codebase

    2023 10Overview – Task - Lazy Task<> foo() { println(“Hello”); co_await sleep(1); } auto t = foo(); println(“world”); co_await move(t); Francesco Zoffoli - Coroutine Patterns and How to Use Them - Them - CppCon 2023 13Overview – Executor Task<> foo() { int a = 42; a -= 10; int bytes = co_await send(a); if (bytes == -1 ) { handle_error(); } } Francesco Zoffoli - Coroutine Patterns and Use Them - CppCon 2023 14Overview – Executor Task<> foo() { int a = 42; a -= 10; int bytes = co_await send(a); if (bytes == -1 ) { handle_error(); } } Francesco Zoffoli - Coroutine Patterns and How
    0 码力 | 70 页 | 1.45 MB | 5 月前
    3
  • pdf文档 Taro: Task graph-based Asynchronous Programming Using C++ Coroutine

    18Why Coroutine • Coroutine is very useful if you have a stove other computing resource! GPU, TPU, async I/O, … CPU A B! C A B! C With multitasking (C++ Coroutine) Multitask Idle GPU CPU GPU gpu_matmul<<<8, 256, 0, stream>>>(matA, matB); 10 while(cudaStreamQuery(stream) != cudaSuccess) { 11 co_await std::suspend_always{}; 12 } 13 cudaStreamDestory(stream); 14 } 2 struct Coro { 3 4 struct > handle; 16 }; 7 co_await std::suspend_always{}; 12 // compiler transform 13 auto&& awaiter = std::suspend_always{}; 14 if(!awaiter.await_ready()) { 15 awaiter.await_suspend(std::coroutine_handle<>
    0 码力 | 84 页 | 8.82 MB | 5 月前
    3
  • pdf文档 Get off my thread: Techniques for moving k to background threads

    std::jthread std::async(std::launch::async,...) Platform-specific APIsSpawning new threads There are lots of ways to spawn new threads: std::thread std::jthread std::async(std::launch::async,...) Platform-specific II std::async is a bit better: we can check the std::future to see if it is ready. std::vector> pending_threads; void handle_event(Event details){ auto handle=std::async( std::launch::async std::launch::async, [=]{process_event(details);}); pending_threads.push_back( std::move(handle)); }Managing thread handles III Can remove completed tasks by periodically checking: void check_for_done_threads(){
    0 码力 | 90 页 | 6.97 MB | 5 月前
    3
  • pdf文档 Behavioral Modeling in HW/SW Co-design Using C++ Coroutines

    Name 10 © 2023 Intel Corporation and Jeffrey E. Erickson cppcon 2023 10 Keywords • co_await or lhs = co_await • Pause execution of the coroutine until the arg becomes ready • lhs applies only Erickson cppcon 2023 13 How do we get the value back? • In another coroutine uint32_t val = co_await foo(); • From outside a coroutine auto bar = foo(); // starts foo() … //do other things uint32_t un-ready • When coroutine A’s logic is met, it becomes ready and co_returns • Coroutine B’s co_await is then satisfied and Coroutine B continuesIntel Confidential Department or Event Name 16 © 2023
    0 码力 | 44 页 | 584.69 KB | 5 月前
    3
  • pdf文档 Compile-Time Validation

    push_back(move(other)); } path.action.push_back(action); path.action_index++; }Async Cleanup Validate that async cleanup function is called once before the object is destroyed in every control flow auto resource = get_resource(); /*...*/ if (condition) { /*...*/ co_await resource.cleanup(); return; } /*...*/ co_await resource.cleanup(); if (true) if (false)Performance Validation • General
    0 码力 | 137 页 | 1.70 MB | 5 月前
    3
  • pdf文档 The Roles of Symmetry And Orthogonality In Design

    C++20) for control-flow asymmetry such as suspended function (e.g., return, co_return, co_yield, co_await)Charley Bay - charleyb123 at gmail dot com The Roles of Symmetry And Orthogonality In Design cppcon compute) • Double-compute (e.g., in iterators, or when using std::range) • Synchronization of async calls or across threads Relationships can be complicatedCharley Bay - charleyb123 at gmail dot com compute) • Double-compute (e.g., in iterators, or when using std::range) • Synchronization of async calls or across threads Orthogonal components exhibiting symmetric correlations • Custom control
    0 码力 | 151 页 | 3.20 MB | 5 月前
    3
共 92 条
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 10
前往
页
相关搜索词
HowMetaMadeDebuggingAsyncCodeEasierwithCoroutinesandSendersDecipheringC++StructuredConcurrencyinPracticeWorkingAsynchronyGenericallyTourofExecutorsCoroutinePatternstoUseThemProblemsSolutionsUsingModernCodebaseTaroTaskgraphbasedAsynchronousProgrammingGetoffmythreadTechniquesformovingbackgroundthreadsBehavioralModelingHWSWCodesignCompileTimeValidationTheRolesSymmetryAndOrthogonalityInDesign
IT文库
关于我们 文库协议 联系我们 意见反馈 免责声明
本站文档数据由用户上传或本站整理自互联网,不以营利为目的,供所有人免费下载和学习使用。如侵犯您的权益,请联系我们进行删除。
IT文库 ©1024 - 2025 | 站点地图
Powered By MOREDOC AI v3.3.0-beta.70
  • 关注我们的公众号【刻舟求荐】,给您不一样的精彩
    关注我们的公众号【刻舟求荐】,给您不一样的精彩