source: tests/concurrent/park/start_parked.cfa @ 454f478

arm-ehenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-expr
Last change on this file since 454f478 was e235429, checked in by Thierry Delisle <tdelisle@…>, 20 months ago

Removed last parker/unparker information is it was not particularly useful

  • Property mode set to 100644
File size: 200 bytes
RevLine 
[cb196f2]1#include <thread.hfa>
2
3thread Parker {};
4void main( Parker & ) {
[e235429]5        park();
[cb196f2]6}
7
8int main() {
[66812dd]9        for(1000) {
10                Parker parker;
[e235429]11                unpark( parker );
[66812dd]12        }
13        printf( "done\n" );                                                                     // non-empty .expect file
14}
Note: See TracBrowser for help on using the repository browser.