Y
Hacker News
new
|
ask
|
show
|
jobs
by
tictac-toe
1959 days ago
You can use a dynamically sized thread pool. E.g. remove a thread with a certain probability once it's idle for more than X seconds.