process.cc (12995:3421144dd03e) process.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

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

320
321 setDynamic(nullptr);
322 ready();
323}
324
325void
326Process::ready()
327{
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

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

320
321 setDynamic(nullptr);
322 ready();
323}
324
325void
326Process::ready()
327{
328 if (disabled())
329 return;
328 if (suspended())
329 _suspendedReady = true;
330 else
331 scheduler.ready(this);
332}
333
334Process::Process(const char *name, ProcessFuncWrapper *func,
335 bool _dynamic, bool needs_start) :

--- 18 unchanged lines hidden ---
330 if (suspended())
331 _suspendedReady = true;
332 else
333 scheduler.ready(this);
334}
335
336Process::Process(const char *name, ProcessFuncWrapper *func,
337 bool _dynamic, bool needs_start) :

--- 18 unchanged lines hidden ---