puma
https://github.com/puma/puma
Ruby
A Ruby/Rack web server built for parallelism
Puma::ThreadPool#trigger_before_thread_exit_hooks
No Docs, write some!
Edit
git clone [email protected]:puma/puma.git
cd puma
open lib/puma/thread_pool.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Puma--ThreadPool-trigger_before_thread_exit_hooks-for-pr
# Commit to gitgit add lib/puma/thread_pool.rbgit commit -m "better docs for Puma::ThreadPool#trigger_before_thread_exit_hooks"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Puma--ThreadPool-trigger_before_thread_exit_hooks-for-pr
hub pull-request
# Celebrate!