Back to FabImage Library website

You are here: Start » Function Reference » System » Configuration » GetThreadLimitInfo

GetThreadLimitInfo


Header: FIL.h
Namespace: fil
Module: FoundationLite

Returns how many threads are possible and a list of threads currently being used.

Applications: Makes it easier to diagnose licensing problems related to exceeding the limit of threads.

Syntax

C++
C#
 
void fil::GetThreadLimitInfo
(
	ftl::Conditional<int>& outThreadLimit,
	ftl::Array<ftl::String>& outActiveThreadIds
)

Parameters

Name Type Default Description
Output value
outThreadLimit Conditional<int>&
Output value
outActiveThreadIds Array<String>&

Multithreaded environment

This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.