ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
Version: 151617181920212223242526
Modifying the management modes of threads Hide the details
Management modes of threads before the modification, combination of the constants below.
Mode for managing the critical sections of procedures and methods:threadAutoAutomatic management of critical sections: each procedure or method can be run by a single thread at a time.threadCriticalSection(Default value)Manual management of critical sections: each procedure or method can be run by several threads simultaneously. In this case, you must protect the accesses to the resources shared between the different threads by critical sections.Distribution of the threads on the processors or on the cores:threadMultiProcessor(Default value)The threads are automatically distributed among the different processors or among the different cores.threadMonoProcessorAll the threads of the application are run on a single processor or on a single core. The constants corresponding to the repartition of the threads on the processors or on the cores are not available.
Retrieving the management modes of threads Hide the details
Current management modes of threads: Mode for managing the critical sections of procedures and methods:threadAutoAutomatic management of critical sections: each procedure or method can be run by a single thread at a time.threadCriticalSection(Default value)Manual management of critical sections: each procedure or method can be run by several threads simultaneously. In this case, you must protect the accesses to the resources shared between the different threads by critical sections.Distribution of the threads on the processors or on the cores:threadMultiProcessor(Default value)The threads are automatically distributed among the different processors or among the different cores.threadMonoProcessorAll the threads of the application are run on a single processor or on a single core. The constants corresponding to the repartition of the threads on the processors or on the cores are not available.
Managing the multi-processors
Last update: 09/22/2020
Send a report | Local help
Searching...
I accept the terms of the license agreement
All you have to do is configure your product as follows: