first commit

update readme

reformat
This commit is contained in:
gwg313 2026-04-20 22:44:45 -04:00
commit e83b60af4f
Signed by: gwg313
GPG key ID: 60FF63B4826B7400
155 changed files with 1143 additions and 0 deletions

View file

@ -0,0 +1,12 @@
## What are three ways a thread **voluntarily** relinquishes the processor?
---
🙋
1. **`Thread.yield()`**: Explicitly giving up the processor.
2. **`Thread.sleep()`**: Ceasing execution for a specific time.
3. **`Object.wait()`**: Waiting for a notification from another thread.