Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/examples/thread.c

    re15df4c r60819df7  
     1#line 1 "thread.c"
    12#include <fstream>
    23#include <kernel>
     
    67// Start coroutine routines
    78struct MyThread {
    8         thread t;
     9        thread_h t;
    910        unsigned id;
    1011        unsigned count;
     
    4546                processor p;
    4647                {
    47                         scoped(MyThread) thread1 = { 1u, itterations };
    48                         scoped(MyThread) thread2 = { 2u, itterations };
     48                        thread(MyThread) thread1 = { 1u, itterations };
     49                        thread(MyThread) thread2 = { 2u, itterations };
    4950                }
    5051        }
Note: See TracChangeset for help on using the changeset viewer.