Should be able to set maximum number of threads for an added task list when adding to thread pool #10

Open
opened 2026-08-05 21:38:57 +00:00 by sessamekesh · 0 comments
Owner

Discovered when adding Recast/Detour support - there are often cases for thread local data that is not appropriate to add to every thread. It's also possible to have some execution contexts that should be minimized (e.g. long running background tasks).

Sometimes but not always it makes sense to have an entirely separate thread pool for things like this, but I'm finding more and more that it's worthwhile to maintain a single thread pool in other cases with execution contexts that are only added to certain threads.

Discovered when adding Recast/Detour support - there are often cases for thread local data that is not appropriate to add to every thread. It's also possible to have some execution contexts that should be minimized (e.g. long running background tasks). Sometimes but not always it makes sense to have an entirely separate thread pool for things like this, but I'm finding more and more that it's worthwhile to maintain a single thread pool in other cases with execution contexts that are only added to certain threads.
Sign in to join this conversation.
No labels
feature-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
indigocode/igasync#10
No description provided.