sczero 最近的时间轴更新
sczero

sczero

V2EX 第 152797 号会员,加入于 2015-12-24 15:31:19 +08:00
今日活跃度排名 22269
sczero 最近回复了
147 天前
回复了 missya 创建的主题 健康 快被疾病折磨崩溃了,有没有相似病的?
我之前也有类似的症状,屁股根部疼,但不一定符合你的情况.去医院也没找到原因.
疼时间久了之后慢慢控制变量,得出的结论是鞋子不好导致的.
2022-04-12 10:49:37 +08:00
回复了 licoycn 创建的主题 程序员 配置中心采用 nacos 还是 apollo
直接用 nacos-spring 就行了,boot 版还没更新
2021-10-12 13:54:45 +08:00
回复了 shmichaelli 创建的主题 上海 上海的程序员交流群(技术、求职、生活)
c2N6MDIxNg==
2021-01-25 15:20:33 +08:00
回复了 Cbdy 创建的主题 Java 求一个 Java 面试题的最佳实践
@zzh7982 新建了 300 个线程......至于吗....
2021-01-25 14:43:56 +08:00
回复了 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();
}
2016-01-19 17:54:47 +08:00
回复了 ericwang0717 创建的主题 推广 送 10 本《第一本 Docker 书》能刷出存在感吗?——实现网
Docker 书好牛掰
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3827 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 10:17 · PVG 18:17 · LAX 03:17 · JFK 06:17
Developed with CodeLauncher
♥ Do have faith in what you're doing.