Changeset 1579
- Timestamp:
- Jul 5, 2012, 3:57:57 PM (9 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/platform/ps3/threadbase.h
r1164 r1579 127 127 ThreadBase(void *(*fn)(void *), void *data) 128 128 { 129 size_t stack_size = 128 * 1024; 130 char const *thread_name = "new thread"; 131 129 132 /* FIXME: choose priority more wisely */ 130 133 sys_ppu_thread_create(&m_thread, (void (*)(uint64_t))fn, 131 (uint64_t)data, 1000, 0, 0, "new thread");134 (uint64_t)data, 1000, stack_size, 0, thread_name); 132 135 } 133 136 -
trunk/src/ticker.cpp
r1531 r1579 315 315 #if defined __CELLOS_LV2__ 316 316 /* FIXME: temporary hack to avoid crashes */ 317 for (;;); 317 Timer t; 318 for (;;) 319 { 320 t.Get(); 321 t.Wait(0.001f); 322 } 318 323 #endif 319 324 return NULL;
Note: See TracChangeset
for help on using the changeset viewer.