Skip to main content

max_threads

max_threads() -> integer

Returns the maximum number of threads Aleph is configured to use.

If no value has been set explicitly, this function returns 0 to indicate that the system default is in use (typically the number of available hardware threads).

See also:

  • set_max_threads
  • available_threads