腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(10)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
循环遍历列表并在lambda中生成串行语句
我有一个名为
compare-and-swap
!的宏它可以工作,我是这样测试它的:(print v)现在,我希望创建一个宏来生成一个lambda,它通过调用batcher并对每一对进行
compare-
浏览 0
修改于2013-05-14
得票数 0
1
回答
为什么这些嵌套的宏无法在导入这些宏的包中创建绑定?
我试图实现这一目标的要点如下: ;;; FSM #+sbcl `(sb-ext:
compare-and-swap
,flag ,old ,new) ) (defmacro control!
浏览 15
提问于2020-07-21
得票数 2
1
回答
更新具有更大值的数组元素时,最低限度地需要哪些内存屏障?
int existing_value = memory.load(memory_order_relaxed); // We're done, and we may exit the
compare-and-swap
// 1. a[
浏览 5
修改于2022-02-08
得票数 2
回答已采纳
1
回答
如何理解在AKKA中使用的CCAS锁定机制?
/** * Does not keep track of the owner
浏览 0
修改于2017-05-23
得票数 0
回答已采纳
1
回答
分配原子函数的返回值
waitBarrier() { // CAS =
Compare-and-swap
, the first argument holds "old_val" the second the new
浏览 2
修改于2014-02-09
得票数 1
回答已采纳
1
回答
如何在文件系统中执行条件IO?
使用时间戳的一个操作是"put if not modified since",它类似于
compare-and-swap
,支持进程间的同步。事实证明,在没有服务器的情况下实现这是相当昂贵的。
浏览 46
提问于2020-07-28
得票数 0
1
回答
Node.js中JavaScript/TypeScript中的异步/等待控制流
where things could go wrong if the control flow jumped to another task; //ie, where I'd need a mutex or
compare-and-swap
浏览 1
提问于2020-07-29
得票数 4
回答已采纳
1
回答
Ruby中的并发栈实现(互斥/CAS的相对性能?)
s.pop } def peek end # a non-locking version which uses
compare-and-swap
浏览 0
提问于2012-03-01
得票数 3
回答已采纳
2
回答
Boost线程:在IOS中,thread_info对象在线程完成执行之前就被销毁了
Without using the posix thread primitives # an invalid
compare-and-swap
ARM instruction (non-thread-safe
浏览 0
修改于2013-08-17
得票数 8
回答已采纳
1
回答
新版本Ruby的读写锁实现
used# using atomic
compare-and-swap
浏览 0
修改于2012-02-21
得票数 2
回答已采纳
领券