class Puma::ThreadPool

def with_mutex(&block)

Experimental RBS support (using type sampling data from the type_fusion project).

def with_mutex: () -> untyped

This signature was generated using 3 samples from 1 application.

Other tags:
    Version: - 5.0.0
def with_mutex(&block)
  @mutex.owned? ?
    yield :
    @mutex.synchronize(&block)
end