Function

GLib-2.0GLibthread_pool_set_max_unused_threads

  • Sets the maximal number of unused threads to max_threads. If max_threads is -1, no limit is imposed on the number of unused threads.

    The default value is 8 since GLib 2.84. Previously the default value was 2.

    Parameters

    • max_threads: number

      maximal number of unused threads

    Returns void