In theory it can be used for any kind of work that cannot be (easily) passed to another process, and that would block all threads. Another use case that I can think of is generating garbage collection statistics. But perhaps the community can find more use cases, we made it general so that people can be creative. :)
Comments
In theory it can be used for any kind of work that cannot be (easily) passed to another process, and that would block all threads. Another use case that I can think of is generating garbage collection statistics. But perhaps the community can find more use cases, we made it general so that people can be creative. :)