Hi, I use ubuntu build from this page 
http://elinux.org/BeagleBoardUbuntu<http://elinux.org/BeagleBoardUbuntu.>

When I create multiple threads with infinite loop(with sleep 10ms) by 
std::thread - cpu load is too high.

For example I create 21 thread like this

void test_class::foo()

{
while (true)
{
std::this_thread::sleep_for(std::chrono::milliseconds(10));
}
}

and got cpu load about 40% !!! I'm new in beagle bone, so my questions: 
It's normal? What i do wrong? 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to