| 
					Darkstalkers Chronicle: The Chaos Tower
				 | 
| 
					01-06-2014, 02:53 PM 
				  Post: #15 | |||
| 
 | |||
| RE: Darkstalkers Chronicle The Chaos Tower 
					Okay, so that thread is "Task Level0".  It does indeed destroy that thread: sceKernelTerminateThread(326) sceKernelDeleteThread(326) Freeing thread stack Task Level0 It's created with priority 32: 326=sceKernelCreateThread(name=Task Level0, entry=0885575c, prio=32, stacksize=12288) But changed later: sceKernelChangeThreadPriority(326, 63) (while on that thread in fact.) This code should be removing it from priority 32 initially: Code:         int old = thread->nt.currentPriority;And this code should be removing it on delete: Code:     int prio = __KernelGetThreadPrio(threadID);One of these isn't working. So let's try changing them, respectively, to: Code:         int old = thread->nt.currentPriority;Code:     int prio = __KernelGetThreadPrio(threadID);If both of those are successful, I'm not sure what's going on. We could also log here for good measure: Code:     inline void remove(u32 priority, const SceUID threadID)Change to: Code:     inline void remove(u32 priority, const SceUID threadID)And, no rush, I can wait. -[Unknown] | |||
| 
					« Next Oldest | Next Newest »
				 | 

 Search
Search Member List
Member List Calendar
Calendar Help
Help 

 


