ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since 0a19c51 was
66812dd,
checked in by Peter A. Buhr <pabuhr@…>, 4 years ago
|
convert tests to always print output (no empty .expect files)
|
-
Property mode set to
100644
|
File size:
236 bytes
|
Rev | Line | |
---|
[cb196f2] | 1 | #include <thread.hfa> |
---|
| 2 | |
---|
| 3 | thread Parker {}; |
---|
| 4 | void main( Parker & ) { |
---|
[66812dd] | 5 | park( __cfaabi_dbg_ctx ); |
---|
[cb196f2] | 6 | } |
---|
| 7 | |
---|
| 8 | int main() { |
---|
[66812dd] | 9 | for(1000) { |
---|
| 10 | Parker parker; |
---|
| 11 | unpark( parker __cfaabi_dbg_ctx2 ); |
---|
| 12 | } |
---|
| 13 | printf( "done\n" ); // non-empty .expect file |
---|
| 14 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.