Skip to content

[BOT] Add 11 new questions#70

Merged
peanut996 merged 1 commit intomasterfrom
feature/add-questions/2025-03-20-13-13-02
Mar 20, 2025
Merged

[BOT] Add 11 new questions#70
peanut996 merged 1 commit intomasterfrom
feature/add-questions/2025-03-20-13-13-02

Conversation

@peanut996
Copy link
Copy Markdown
Owner

This PR adds 11 new interview questions to the question bank.

Questions Added:

  1. 在使用线程池时,如何保证线程安全? (Question, Medium)
  2. volatile 关键字在线程池中有什么应用? (Question, Medium)
  3. AtomicInteger 等原子类在线程池中有什么作用? (Question, Medium)
  4. 如何使用 CountDownLatch、CyclicBarrier、Semaphore 等并发工具来协调线程池中的任务? (Question, Medium)
  5. Exchanger 在线程池中有什么应用? (Question, Medium)
  6. 如何使用 Phaser 来管理线程池中的阶段性任务? (Question, Medium)
  7. 如何避免在线程池中使用过多的 synchronized 关键字? (Question, Medium)
  8. 线程池的线程上下文切换是如何发生的? (Question, Medium)
  9. 线程池的线程调度算法是什么? (Question, Medium)
  10. Java 内存模型 (JMM) 在线程池中扮演什么角色? (Question, Hard)
  11. 线程池是否体现了某种设计模式?如果是,是什么模式?请描述该模式的意图和如何在线程池中体现。 (Question, Medium)

These questions were contributed through the app's contribution feature.

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
random-interview-platform ⬜️ Ignored (Inspect) Visit Preview Mar 20, 2025 1:13pm

@peanut996 peanut996 merged commit 6aa9e13 into master Mar 20, 2025
3 checks passed
@peanut996 peanut996 deleted the feature/add-questions/2025-03-20-13-13-02 branch March 20, 2025 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant