Reverted back to an older random version that did not yet use thread_yield().

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21988 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2007-08-16 18:01:21 +00:00
parent a3192bf3a7
commit f2286d02b9

View File

@ -191,7 +191,9 @@ reseed(ch_randgen *prandgen, const uint32 initTimes)
for (j = initTimes; j; j--) {
for (i = NK * initTimes; i; i--) {
thread_yield();
//thread_yield();
snooze(100);
// TODO: Our thread_yield() currently waits too long for emulators...
y.Q[0] += system_time();
attach(&x, &y, 0x52437EFFU, 0x026A4CEBU, 0xD9E66AC9U, 0x56E5A975U);