Yield during test 1941 tight loop

Test 1941 performs a tight-loop in a thread. Perform Thread.yield()
periodically so that other threads will always have time to run.

Test: ./test.py --host
Bug: 133767752
Change-Id: I7d30a2d3b64115982c934ea1945c691e2ceff12d
1 file changed