V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  sczero  ›  全部回复第 1 页 / 共 1 页
回复总数  6
2023 年 11 月 24 日
回复了 missya 创建的主题 健康 快被疾病折磨崩溃了,有没有相似病的?
我之前也有类似的症状,屁股根部疼,但不一定符合你的情况.去医院也没找到原因.
疼时间久了之后慢慢控制变量,得出的结论是鞋子不好导致的.
2022 年 4 月 12 日
回复了 licoycn 创建的主题 程序员 配置中心采用 nacos 还是 apollo
直接用 nacos-spring 就行了,boot 版还没更新
2021 年 10 月 12 日
回复了 shmichaelli 创建的主题 上海 上海的程序员交流群(技术、求职、生活)
c2N6MDIxNg==
2021 年 1 月 25 日
回复了 Cbdy 创建的主题 Java 求一个 Java 面试题的最佳实践
@zzh7982 新建了 300 个线程......至于吗....
2021 年 1 月 25 日
回复了 Cbdy 创建的主题 Java 求一个 Java 面试题的最佳实践
public static void main(String[] args) throws InterruptedException {
final AtomicReference<String> tag = new AtomicReference<>("a");
final int total = 100;
new Thread(() -> {
int count = 0;
while (count < total) {
if (tag.get().equals("a")) {
System.out.print("a");
tag.set("b");
count++;
}
}
}).start();
new Thread(() -> {
int count = 0;
while (count < total) {
if (tag.get().equals("b")) {
System.out.print("b");
tag.set("c");
count++;
}
}
}).start();
new Thread(() -> {
int count = 0;
while (count < total) {
if (tag.get().equals("c")) {
System.out.println("c");
tag.set("a");
count++;
}
}
}).start();
}
Docker 书好牛掰
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2823 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 19ms · UTC 13:20 · PVG 21:20 · LAX 05:20 · JFK 08:20
♥ Do have faith in what you're doing.