Merge pull request #46447 from Faless/fix/4.x_threaded_array

Fix ThreadedArrayProcessor init when NO_THREADS.
This commit is contained in:
Rémi Verschelde 2021-02-26 14:34:58 +01:00 committed by GitHub
commit 4ddf5caa90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,7 +95,7 @@ void thread_process_array(uint32_t p_elements, C *p_instance, M p_method, U p_us
data.method = p_method;
data.instance = p_instance;
data.userdata = p_userdata;
data.index = 0;
data.index.set(0);
data.elements = p_elements;
for (uint32_t i = 0; i < p_elements; i++) {
data.process(i);