ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change
on this file since 0e76cf4f was
0e76cf4f,
checked in by Thierry Delisle <tdelisle@…>, 8 years ago
|
Updated the makefile for concurrency
|
-
Property mode set to
100644
|
File size:
138 bytes
|
Line | |
---|
1 | #include "threads" |
---|
2 | |
---|
3 | forall(dtype T | coroutine_t(T)) |
---|
4 | void suspend(T* cor) { |
---|
5 | |
---|
6 | } |
---|
7 | |
---|
8 | forall(dtype T | coroutine_t(T)) |
---|
9 | void resume(T* cor) { |
---|
10 | |
---|
11 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.