+ 2
Kernel level threads
Hi We can use thread header to create threads from C++11 onwards. Is this a user level thread or kernel level thread ? How to create each type of threads ? Also any hint on one to many model as well as Many to one and one to one model ?
1 Answer
0
C++11's std::thread typically creates kernel-level threads (one-to-one model). User-level threads and many-to-many models require external libraries or lower-level APIs. Proper thread management (joining/detaching) and synchronization mechanisms are essential to avoid issues. Be mindful of thread count to minimize overhead. https://www.flyingtogether.club