Deleted Added
sdiff udiff text old ( 13144:61e0f3230787 ) new ( 13145:5291e0747c7c )
full compact
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

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

185 ew->throw_it();
186 }
187}
188
189void
190Scheduler::ready(Process *p)
191{
192 // Clump methods together to minimize context switching.
193 if (p->procKind() == ::sc_core::SC_METHOD_PROC_)
194 readyList.pushFirst(p);
195 else
196 readyList.pushLast(p);
197
198 scheduleReadyEvent();
199}
200
201void

--- 192 unchanged lines hidden ---