commit | 81d82ffd5d787d5898e60cae6b871c226e1c9aa5 | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Wed Jun 08 13:37:45 2016 +0100 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Wed Jun 08 13:37:45 2016 +0100 |
tree | 8ae1422311bcd61d42c10ccea37b580110f18326 | |
parent | 616723f67e253c3eba8123029b45684e1f33454e [diff] |
Use sleep instead of sched_yield. The compiler thread has a different priority than the main thread, so there's no guarantee sched_yield will actually pass the CPU to the compiler thread. Change-Id: I7e8d3cbf478c482a9ba9502f7bba7fb1397cd28e