#include #include struct MyThread { thread_desc __thrd; }; DECL_THREAD(MyThread); void ?{}( MyThread * this ) {} void main( MyThread* this ) { for(int i = 0; i < 1000000; i++) { yield(); } } int main(int argc, char* argv[]) { // sout | "User main begin"; { processor p; { scoped(MyThread) f[4]; } } // sout | "User main end"; }