3 ms·
Running an empty loop with no sleep or other yield type operation will peg one of your cores if you pin it to that core. Int main() { while(1) {} } co
by EasyMark 2y ago
Running an empty loop with no sleep or other yield type operation will peg one of your cores if you pin it to that core.
Int main() {
while(1) {}
}
compile that with -O0 and see what happens.