apm-agent-ruby icon indicating copy to clipboard operation
apm-agent-ruby copied to clipboard

Switch worker threads to have a worker hold thread, instead of a thread holding the worker

Open jaggederest opened this issue 3 years ago • 1 comments

Currently we don't hold handles for the workers, we only hold their thread. This makes it difficult to gracefully shut down the workers when e.g. exiting a shortlived process or lambda function

jaggederest avatar May 24 '22 15:05 jaggederest

This may be useful in the context of #1240 but there may also be other ways to solve that issue

jaggederest avatar May 24 '22 15:05 jaggederest