Skip to content
Snippets Groups Projects
Commit 2847d743 authored by Damien George's avatar Damien George
Browse files

tests/thread: Replace busy waiting loops with a loop that sleeps.

Depending on the thread scheduler, a busy-wait loop can hog the CPU and
make the tests very slow.  So convert such loops to loops that have an
explicit sleep, allowing the worker threads to do their job.
parent f2d732f4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment