开发者交流平台
开发者交流平台

通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。

bj
登录
  • 友情链接
站内
multithreading

multithreading

go

生产者-消费者问题,但任务数量不确定?

英文: Producer-Consumer Problem but with indefinite tasks? 问题 我正在尝试理解在任务可以是无限期的情况下,生产者-消费者模式的概念,同时这些任务...
huangapple 2023年6月16日128评论java multithreading
go

`std::this_thread::yield()`比`std::this_thread::sleep_for(0s)`慢10倍的原因是什么?

英文: Why is `std::this_thread::yield()` 10x slower than `std::this_thread::sleep_for(0s)`? 问题 只是测试这两个...
huangapple 2023年6月16日146评论c++ linux
go

为什么这个全局变量在不同线程之间的值不同?

英文: Why is the value of this global variable different between threads? 问题 在这个程序中,我声明了一些全局变量,并创建了多个与...
huangapple 2023年6月16日137评论c multithreading
go

有没有办法让我的程序在一个线程中两次锁定互斥锁而不是死锁?

英文: Is there any way I can make my program panic rather than deadlock if I have lock a mutex twice i...
huangapple 2023年6月16日137评论c++ multithreading
go

Python 在 threading.join() 随机终止

英文: Python terminates at threading.join() randomly 问题 以下是您要翻译的内容: 我有一个带有4个线程的Python方法。我必须在这4个线程中处理一些...
huangapple 2023年6月16日124评论multithreading python-3.x
go

什么是用于动态调度的正确std::atomic内存顺序?

英文: What is the right std::atomic memory order for dynamic scheduling? 问题 我在思考经典的“原子计数动态调度”习语的正确内存顺序...
huangapple 2023年6月15日147评论c++ multithreading
go

维护线程列表并通过ID终止它们

英文: Maintaining list of threads and killing them by id 问题 我有一个Python网络应用程序,用户发送请求需要进行一些后台工作,我为每个请求启动...
huangapple 2023年6月15日175评论multithreading python
go

OpenJDK11 jstack输出解释

英文: OpenJDK11 jstack output explanation 问题 I am trying to understand what the "cpu" and &q...
huangapple 2023年6月15日151评论java multithreading
go

Generic Volatile.Read to Thread.VolatileRead conversion

英文: Generic Volatile.Read to Thread.VolatileRead conversion 问题 I need to get this code from .NET 4.5...
huangapple 2023年6月15日123评论c# multithreading
go

何时在编程中使用原子操作?

英文: When to use atomic operations while programming? 问题 我知道CPU提供原子指令来原子访问指定的内存地址。我很好奇我们应该在什么时候使用原子指令...
huangapple 2023年6月13日134评论c multithreading
75

文章导航

1 … 4 5 6 7 8 9 10 11 12 … 75
name
开发者交流平台
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
文章117266 留言 4 访客17107331

热门标签

spring-boot r javascript sql flutter reactjs go python json node.js arrays css spring android html java c++ typescript pandas c#

悟已往之不谏,知来者之可追!

今日
00%
已00小时
本周
00%
已过00天
本月
00%
已过00天
今年
00%
已是00月

Copyright ©  开发者交流平台 版权所有.

闽 ICP 备 2022019110 号 - 1
  • 开发者交流平台

    本页二维码