1/*
2 * Copyright 2018 Google, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright
--- 187 unchanged lines hidden (view full) ---
196 readyList.pushFirst(p);
197 else
198 readyList.pushLast(p);
199
200 scheduleReadyEvent();
201}
202
203void
204Scheduler::requestUpdate(Channel *c)
205{
206 updateList.pushLast(c);
207 scheduleReadyEvent();
208}
209
210void
211Scheduler::scheduleReadyEvent()
--- 148 unchanged lines hidden ---
2 * Copyright 2018 Google, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright
--- 187 unchanged lines hidden (view full) ---
196 readyList.pushFirst(p);
197 else
198 readyList.pushLast(p);
199
200 scheduleReadyEvent();
201}
202
203void
204Scheduler::requestUpdate(Channel *c)
205{
206 updateList.pushLast(c);
207 scheduleReadyEvent();
208}
209
210void
211Scheduler::scheduleReadyEvent()
--- 148 unchanged lines hidden ---