public IEnumerable <uint> EnumerateOSThreadIds() { foreach (IElfPRStatus status in _core.EnumeratePRStatus()) { yield return(status.ThreadId); } }
private void InitThreads() { if (_threads != null) { return; } _threads = new Dictionary <uint, ElfPRStatus>(); foreach (ElfPRStatus status in _core.EnumeratePRStatus()) { _threads.Add(status.Pid, status); } }