Implement Thread.yield().