Browse Source

core: the IO thread tweak needn't be PS3-specific.

legacy
Sam Hocevar sam 13 years ago
parent
commit
b4b2019efc
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      src/ticker.cpp

+ 3
- 4
src/ticker.cpp View File

@@ -314,15 +314,14 @@ void *TickerData::DrawThreadMain(void * /* p */)


void *TickerData::DiskThreadMain(void * /* p */) void *TickerData::DiskThreadMain(void * /* p */)
{ {
#if defined __CELLOS_LV2__
/* FIXME: temporary hack to avoid crashes */
/* FIXME: temporary hack to avoid crashes on the PS3 */
Timer t; Timer t;
for (;;) for (;;)
{ {
t.Get(); t.Get();
t.Wait(0.001f);
t.Wait(0.01f);
} }
#endif
return NULL; return NULL;
} }




Loading…
Cancel
Save