hello,
how can i use the Preemptive threads to maximal use of all cores or limit to 99% CPU?
i will use a single xojo app for calculations instead of extern running multiple workers.
Take a look at ThreadPool, available through the examples. You can specify the number of cores to use and it defaults to the number of cores on the system minus 1. (That info is now available through the System module.)
5 Likes
info about cpu core count
System.DebugLog System.CoreCount.ToString