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 (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 ---
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 (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 ---