public int sceKernelGetThreadmanIdList(SceKernelIdListType Type, int *List, int ListMax, int *OutListCount) { int n = 0; switch (Type) { case SceKernelIdListType.SCE_KERNEL_TMID_Thread: foreach (var Thread in ThreadManager.Threads) { List[n++] = Thread.Id; } break; default: throw (new NotImplementedException("sceKernelGetThreadmanIdList: " + Type)); } if (OutListCount != null) { *OutListCount = n; } return(0); }
public int sceKernelGetThreadmanIdList(SceKernelIdListType Type, int* List, int ListMax, int* OutListCount) { int n = 0; switch (Type) { case SceKernelIdListType.SCE_KERNEL_TMID_Thread: foreach (var Thread in ThreadManager.Threads) List[n++] = Thread.Id; break; default: throw (new NotImplementedException("sceKernelGetThreadmanIdList: " + Type)); } if (OutListCount != null) *OutListCount = n; return 0; }