Changes in src/examples/Bench.c [a91dcc2:77e6fcb]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/examples/Bench.c
ra91dcc2 r77e6fcb 87 87 88 88 struct CoroutineDummy { coroutine c; }; 89 DECL_COROUTINE(CoroutineDummy) 89 DECL_COROUTINE(CoroutineDummy); 90 90 void main(CoroutineDummy * this) {} 91 91 … … 122 122 }; 123 123 124 DECL_COROUTINE(CoroutineResume) 124 DECL_COROUTINE(CoroutineResume); 125 125 126 126 void ?{}(CoroutineResume* this, int N) { … … 151 151 152 152 struct ThreadDummy { thread t; }; 153 DECL_THREAD(ThreadDummy) 153 DECL_THREAD(ThreadDummy); 154 154 void main(ThreadDummy * this) {} 155 155 … … 183 183 }; 184 184 185 DECL_THREAD(ContextSwitch) 185 DECL_THREAD(ContextSwitch); 186 186 187 187 void main(ContextSwitch * this) {
Note: See TracChangeset
for help on using the changeset viewer.