synchronized

open fun synchronized(): Pool<E>

Returns a thread-safe synchronized version of this pool.

Return

Synchronized Pool instance