scheduler.cc (12995:3421144dd03e) scheduler.cc (12996:17ec70f9841e)
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

--- 45 unchanged lines hidden (view full) ---

54{
55 for (Process *p = toFinalize.getNext(); p; p = toFinalize.getNext()) {
56 p->finalize();
57 p->popListNode();
58 }
59
60 for (Process *p = initList.getNext(); p; p = initList.getNext()) {
61 p->finalize();
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

--- 45 unchanged lines hidden (view full) ---

54{
55 for (Process *p = toFinalize.getNext(); p; p = toFinalize.getNext()) {
56 p->finalize();
57 p->popListNode();
58 }
59
60 for (Process *p = initList.getNext(); p; p = initList.getNext()) {
61 p->finalize();
62 p->popListNode();
62 p->ready();
63 }
64
65 for (auto ets: eventsToSchedule)
66 eq->schedule(ets.first, ets.second);
67 eventsToSchedule.clear();
68
69 if (_started)

--- 217 unchanged lines hidden ---
63 p->ready();
64 }
65
66 for (auto ets: eventsToSchedule)
67 eq->schedule(ets.first, ets.second);
68 eventsToSchedule.clear();
69
70 if (_started)

--- 217 unchanged lines hidden ---