积分充值
 首页
前端开发
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文库
  • 综合
  • 文档
  • 文章

无数据

分类

全部后端开发(1115)综合其他(377)Java(339)Python(325)Weblate(302)Spring(288)数据库(212)云计算&大数据(179)C++(131)VirtualBox(113)

语言

全部英语(1584)中文(简体)(335)中文(繁体)(21)英语(7)德语(5)日语(4)韩语(3)葡萄牙语(3)西班牙语(2)

格式

全部PDF文档 PDF(1423)其他文档 其他(496)TXT文档 TXT(45)PPT文档 PPT(9)DOC文档 DOC(2)
 
本次搜索耗时 0.024 秒,为您找到相关结果约 1000 个.
  • 全部
  • 后端开发
  • 综合其他
  • Java
  • Python
  • Weblate
  • Spring
  • 数据库
  • 云计算&大数据
  • C++
  • VirtualBox
  • 全部
  • 英语
  • 中文(简体)
  • 中文(繁体)
  • 英语
  • 德语
  • 日语
  • 韩语
  • 葡萄牙语
  • 西班牙语
  • 全部
  • PDF文档 PDF
  • 其他文档 其他
  • TXT文档 TXT
  • PPT文档 PPT
  • DOC文档 DOC
  • 默认排序
  • 最新排序
  • 页数排序
  • 大小排序
  • 全部时间
  • 最近一天
  • 最近一周
  • 最近一个月
  • 最近三个月
  • 最近半年
  • 最近一年
  • pdf文档 Multi Producer, Multi Consumer, Lock Free, Atomic Queue

    instructions ● std::atomic - provides load / store / compare_exchange ● std::atomic::is_always_lock_free ● Load and Store of aligned 8 bytes ● CAS ( old-expected, new-value ) - atomic Compare And std::atomic - atomic access not interrupted, if T is too large the std::atomic<> will use internal lock to provide atomic access to type T. if T is small enough and the atomic<> implementation supports
    0 码力 | 54 页 | 886.12 KB | 5 月前
    3
  • pdf文档 Single Producer Single Consumer Lock-free FIFO From the Ground Up

    reliable sources such as Boost.Lockfree? ● Writing such a fifo is a fairly gentle introduction to lock free programming. ● There are some interesting performance optimizations that can be made. ● You net/home/lock-free-algorithms/queues/unbounded-spsc-queue https://www.dpdk.org/ 3● Single producer: one producer (aka writer) thread ● Single consumer: one consumer (aka reader) thread ● Lock-free: it were connected end-to-end. The oldest entry is processed first. 4 Single Producer Single Consumer Lock-Free Wait-Free Fifo5 Read message from network Handle message Write response to network
    0 码力 | 51 页 | 546.30 KB | 5 月前
    3
  • ppt文档 Lock-Free Atomic Shared Pointers Without a Split Reference Count? It Can Be Done!

    Deferred reclamation, i.e., garbage collection in C++ Some assumed knowledge • You’ve heard of lock-free programming and know what a compare_exchange is • You know roughly what atomic does and what Deferred reclamation, i.e., garbage collection in C++ Some assumed knowledge • You’ve heard of lock-free programming and know what a compare_exchange is • You know roughly what atomic does and what danielanderson.net Why is this important?8 Daniel Anderson -- danielanderson.net Why is this important?9 Lock-freedom Daniel Anderson -- danielanderson.net10 Daniel Anderson -- danielanderson.net std::shared_ptr11
    0 码力 | 45 页 | 5.12 MB | 5 月前
    3
  • pdf文档 When Lock-Free Still Isn't Enough: An Introduction to Wait-Free Programming and Concurrency Techniques

    net3 What we’ll learn today • Very quick review of concurrency and lock-free programming • Review the “bread and butter” of lock-free design patterns • Define wait-free algorithms, understand the definition • You’ve heard of lock-free programming and know what a compare_exchange is Daniel Anderson -- danielanderson.net4 Our motivating problem • Required by std::weak_ptr::lock • Also, very useful std::lock_guard g_{m}; if (counter > 0) { counter++; return true; } return false; } bool decrement() { std::lock_guard g_{m};
    0 码力 | 33 页 | 817.96 KB | 5 月前
    3
  • pdf文档 Concurrency

    std::for_each(std::execution::par, v.begin(), v.end(), [&sum, &mtx](std::int64_t x){ std::scoped_lock lock(mtx); sum += x; }); Loops to algorithms https://godbolt.org/z/on4KoejqxCppCon std::for_each(std::execution::par, v.begin(), v.end(), [&sum, &mtx](std::int64_t x){ std::scoped_lock lock(mtx); sum += x; }); Loops to algorithms Abysmal performance! Don’t do this! Only one thread at a time can lock or acquire the mutexCppCon 2023 75 David Olsen - Back to Basics: Concurrency MUTEXES An airplane lavatory Anyone can go in and lock the door Has exclusive use of
    0 码力 | 160 页 | 2.91 MB | 5 月前
    3
  • pdf文档 使用Go与redis构建有趣的应用

    content, _ := repl.Str() fmt.Println(content) // "PONG" } 连接服务器器 执⾏行行命令并获取回复 将回复转换为字符串串 锁 lock 锁 锁是⼀一种同步机制, 它可以保证⼀一项资源在任何时候只能被⼀一个进程使⽤用, 如果有其他进程想要 使⽤用相同的资源, 那么它们就必须等待, 直到正在使⽤用资源的进程放弃使⽤用权为⽌止。 锁未被获取,程序可以通过为其设置值来获取锁。 键 “LOCK_KEY” 值 nil 未 加 锁 ⽅方法⼀一 —— 使⽤用字符串串 将⼀一个字符串串键⽤用作锁,如果这个键有值,那么说明锁已被获取;反之,如果键没有值,那么说明 锁未被获取,程序可以通过为其设置值来获取锁。 键 “LOCK_KEY” 值 nil 键 “LOCK_KEY” 值 “LOCKING” 未 加 锁 已 ,如果键已经有值,那么默认使⽤用新值去覆盖旧值 DEL key 实现代码 const lock_key = "LOCK_KEY" const lock_value = "LOCK_VALUE" func acquire(client *redis.Client) bool { current_value, _ := client.Cmd("GET", lock_key).Str() if current_value
    0 码力 | 176 页 | 2.34 MB | 1 年前
    3
  • ppt文档 C++高性能并行编程与优化 - 课件 - 05 C++11 开始的多线程编程

    :上锁,防止多个线程同时进入某一代码段 • 调用 std::mutex 的 lock() 时,会检测 mutex 是否已经上锁。 • 如果没有锁定,则对 mutex 进行上锁。 • 如果已经锁定,则陷入等待,直到 mutex 被 另一个线程解锁后,才再次上锁。 • 而调用 unlock() 则会进行解锁操作。 • 这样,就可以保证 mtx.lock() 和 mtx.unlock() 之间的代码段,同一时间只有一个线程在执行 同学在用了, B 同学就不能进去,要等 A 同学用完了才能进 去。 std::lock_guard :符合 RAII 思想的上锁和解锁 • 根据 RAII 思想,可将锁的持有视为资源 ,上锁视为锁的获取,解锁视为锁的释放 。 • std::lock_guard 就是这样一个工具类,他 的构造函数里会调用 mtx.lock() ,解构函 数会调用 mtx.unlock() 。从而退出函数作 用域时能够自动解锁,避免程序员粗心不 用域时能够自动解锁,避免程序员粗心不 小心忘记解锁。 std::unique_lock :也符合 RAII 思想,但自由度更高 • std::lock_guard 严格在解构时 unlock() ,但是 有时候我们会希望提前 unlock() 。这时可以用 std::unique_lock ,他额外存储了一个 flag 表 示是否已经被释放。他会在解构检测这个 flag ,如果没有释放,则调用
    0 码力 | 79 页 | 14.11 MB | 1 年前
    3
  • pdf文档 Back to Basics: Concurrency

    n reading and writing to shared-ValueSolving a Data Race ● Fixing Data Races ○ We can use a ‘lock’ to protect data, so that only one thread at a time can thus access the memory. ○ In C++, we have of code. ○ Thus, the operation is ‘atomic’ in the sense that only 1 operation can happen while the lock is held. ○ Analogy: ■ Think about having exactly 1 key to your home, and you always carry the key the house. ■ When the person enters, they lock the door ■ When the person leaves, they can pass on the key to someone else to enter, who will also lock the door when they enter. 75std::mutex (1/2)
    0 码力 | 141 页 | 6.02 MB | 5 月前
    3
  • pdf文档 Apache Karaf Container 4.x - Documentation

    jbonofre jbonofre 4096 Dec 3 13:02 lib -rw-r--r-- 1 jbonofre jbonofre 0 Dec 3 13:02 lock drwxr-xr-x 1 jbonofre jbonofre 4096 Dec 3 12:51 system lftp karaf@localhost:/> Apache Maven logging . Standard Java logging is used initially by the Main class and org.apache.karaf.main.lock.Lock implementations. In order to configure the logging level, please set the system property karaf solution. Karaf provides failover capability using either a simple lock file or a JDBC locking mechanism. In both cases, a container-level lock system allows bundles to be preloaded into the slave Karaf instance
    0 码力 | 370 页 | 1.03 MB | 1 年前
    3
  • pdf文档 Back to Basics: Concurrency

    O’Dwyer 2020-09-18Outline ● What is a data race and how do we fix it? [3–12] ● C++11 mutex and RAII lock types [13–23] Questions? ● condition_variable [24–28] ● Static initialization and once_flag to solve the problem is std::mutex. std::mutex mtx; mtx.lock(); std::thread threadB = std::thread([&](){ mtx.lock(); mtx.unlock(); printf("Hello from B\n"); }); printf("Hello coffeeshop bathroom key. When Alice holds the key, Bob can’t enter (and vice versa). mutex’s .lock() method “acquires” the bathroom key (waiting in line for it, if necessary). The .unlock() method
    0 码力 | 58 页 | 333.56 KB | 5 月前
    3
共 1000 条
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 100
前往
页
相关搜索词
MultiProducerConsumerLockFreeAtomicQueueSinglefreeFIFOFromtheGroundUpSharedPointersWithoutSplitReferenceCountItCanBeDoneWhenStillIsnEnoughAnIntroductiontoWaitProgrammingandConcurrencyTechniques使用Goredis构建有趣应用C++高性性能高性能并行编程优化课件05BackBasicsApacheKarafContainerDocumentation
IT文库
关于我们 文库协议 联系我们 意见反馈 免责声明
本站文档数据由用户上传或本站整理自互联网,不以营利为目的,供所有人免费下载和学习使用。如侵犯您的权益,请联系我们进行删除。
IT文库 ©1024 - 2025 | 站点地图
Powered By MOREDOC AI v3.3.0-beta.70
  • 关注我们的公众号【刻舟求荐】,给您不一样的精彩
    关注我们的公众号【刻舟求荐】,给您不一样的精彩