Skip to content

External task threads - how do they work? #118

Answered by dougbinks
Zortexxx619 asked this question in Q&A
Discussion options

You must be logged in to vote

if I'm understanding correctly, given n HW threads, n enkiTS threads are created in the default case (including the main/calling thread)

Yes, unless you request a different number of enkiTS threads this is the default.

Then, external threads are created in addition to those

enkiTS does not create the external threads itself, this is something you need to do if you want to use them. This is why they are external threads.

by registering a thread as external, it effectively suppresses one of the enkiTS threads to prevent oversubscription until it's done.

No, this is somewhat complex and so I will add further explanations below.

A given system can only run as many software threads as th…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Zortexxx619
Comment options

@dougbinks
Comment options

Answer selected by Zortexxx619
@Zortexxx619
Comment options

@dougbinks
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants