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

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

89 Thread *thread;
90
91 void
92 main() override
93 {
94 thread->_needsStart = false;
95 thread->run();
96 thread->terminate();
97 scheduler.yield();
98 }
99 };
100 friend class Context;
101
102 Context *ctx;
103};
104
105class CThread : public Thread

--- 21 unchanged lines hidden ---