Funktionierendes Locking/Mutex-Konstrukt für's Device
TODO:
-
Figure out a locking construct that works on all devices -
Test it in isolation in a unit test. - The test should test the feature in isolation, in particular the executable should not contain any other unit tests. This is so we don't get 24MB of logs from mostly unrelated kernels with
PACXX_LOG_LEVEL=5
as we did in https://zivgitlab.uni-muenster.de/jfahl_01/pacxx-projectseminar-2019/issues/65#note_45703 - One possible test could be to sum up the numbers from
1
ton
or similar, where each thread handles one number and adds it to one common accumulator.
- The test should test the feature in isolation, in particular the executable should not contain any other unit tests. This is so we don't get 24MB of logs from mostly unrelated kernels with
Siehe https://zivgitlab.uni-muenster.de/jfahl_01/pacxx-projectseminar-2019/issues/47#note_45211.
Edited by Dr. Jorrit Fahlke