I realized by doing a simple multithreading program that multiple threads were created at the start of my program. I saw that windows 10 used a parallel loader of dll which created me 4 threads: 3 of ntdll.dll and one of Win32. Using the thread.h library of C ++ 11 and creating one worker thread and using the thread::hardware_concurrency() command, I would have liked to have 2 threads, the main thread and the worker thread. Can I disable parallel loading?
Aucun commentaire:
Enregistrer un commentaire