C/C++
ucpp.txt
Associated article: Examining uC++
Tags: C/C++ Parallel Design
Published source code accompanying the article by Peter A. Buhr and Richard C. Bilson in which they examine uC++, a version of C++ designed to provide high-level concurrency for C++.
Examining uC++
by Peter A. Buhr and Richard C. Bilson
Listing One
_Coroutine C {
void main() { // distinguished member / executes on coroutine's stack
...suspend()... // restart last resume
}
public:
void m1(...) {... resume();...} // restart last suspend
void m2(...) {... resume();...} // restart last suspend
};
Listing ...


