halozzz's recent timeline updates
halozzz

halozzz

V2EX member #607786, joined on 2022-12-24 14:14:45 +08:00
halozzz's recent replies
蹲一个后续
问下老哥,表格转是基于啥技术?
盲猜 CRDS 的原因。。 遇到过好几次了
换了个电池就好了
@niubee1
@wfy0327
@Xusually
我太感谢各位了,不然我真还不知道,试过了各种方式,打开后盖一看果然是。。。。
Aug 2, 2023
Replied to a topic by labilixin Java 《 Java 并发实战》中遇到的一个问题
@lingalonely
Nothing guarantees that two threads won't compute the factors from the same number. The only guarantee that this code offers is that, if the cache currently contains the factors for the requested number, these cached factors will be returned (and not factors for another number, or inconsistent data cause by a data race)
race condition 依旧存在,不过能保证的是返回的值不会因为 race 存在而有不一样的结果
Aug 2, 2023
Replied to a topic by labilixin Java 《 Java 并发实战》中遇到的一个问题
注意 OneValueCache 里的操作都是 copy 的,不是直接赋值和返回值,这里的线程安全是指这个类两次初始化数据不会互相干扰,而不是只会初始化一次。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5222 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 147ms · UTC 09:36 · PVG 17:36 · LAX 02:36 · JFK 05:36
♥ Do have faith in what you're doing.