Searched refs:sleeper (Results 1 – 2 of 2) sorted by relevance
137 void AddSleeper(Sleeper *sleeper) in AddSleeper() argument139 fSleepers.AddItem(sleeper); in AddSleeper()142 void RemoveSleeper(Sleeper *sleeper) in RemoveSleeper() argument144 fSleepers.RemoveItem(sleeper); in RemoveSleeper()150 Sleeper *sleeper = (Sleeper*)fSleepers.ItemAt(i); in NotifySleepers()152 if (sleeper->MessageCode() == messageCode) in NotifySleepers()153 sleeper->WakeUp(); in NotifySleepers()597 Sleeper *sleeper = new Sleeper; in WaitForMessage() local598 error = sleeper->Init(messageCode); in WaitForMessage()600 AddSleeper(sleeper); in WaitForMessage()[all …]
116 void AddSleeper(Sleeper *sleeper);117 void RemoveSleeper(Sleeper *sleeper);